MajorGeeks Support Forums IOBit Software

Go Back   MajorGeeks Support Forums > Majorgeeks.Com - Support Forums > Linux
Register FAQ Members List Calendar Casino Mark Forums Read

Linux A forum for all Linux users.


Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-12, 08:31
spacegoat spacegoat is offline
Private E-2
 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wireless Hotspot Using hostapd

Greetings from Indonesia
In trying to get a wifi card to function as a hotspot .. I ascertained that it was compatible,
(01:06.0 Network controller: Ralink corp. RT2500 802.11g (rev 01))

and then go to the stage where I obtain:

/etc/init.d/hostapd restart
* Bringing up interface wlan0
180.254.188.156
* Starting wpa_supplicant on wlan0 ... [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ... ...
* WARNING: net.wlan0 has started, but is inactive
* WARNING: hostapd is scheduled to start when net.wlan0 has started
All the relevant info I can think of is below.

I'm looking for advice on how to diagnose these warnings.

Best wishes. Thanks


nano /etc/conf.d/net
config_wlan=( "192.168.1.33 netmask 255.255.255.0" )
essid_wlan="sabayon"
mode_wlan="Master"
channel_wlan="1"
# uname -a
Linux sabayon 3.1.0-sabayon #1 SMP Sat Dec 31 00:06:24 UTC 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

dmesg wlan | wgetpaste
Your paste can be seen here: http://paste.pocoo.org/show/545781/

rc-update show --verbose | wgetpaste
Your paste can be seen here: http://paste.pocoo.org/show/545784/
Reply With Quote
Sponsored links
  #2  
Old 02-14-12, 00:58
BoredOutOfMyMind's Avatar
BoredOutOfMyMind BoredOutOfMyMind is offline
Picabo, ICU
 
Join Date: Nov 2002
Location: 36.071835,-119.035191
Posts: 3,061
Thanks: 864
Thanked 203 Times in 184 Posts
Default Re: Wireless Hotspot Using hostapd

Hi spacegoat, you have stumped the Linux Geeks who hang here. In searching I found your same posting on another board seeking help. Your help thread on the Sabayon Forum as well has 43 views.

My only offering is to ask if eth0 will connect, or can you connect using wlan0 before the attempt at the hotspot. Are you seeking to share wlan0 while connected (bridged)?
Quote:
Line 490 [ 330.320208] ADDRCONF(NETDEV_UP): wlan0: link is not ready
I cannot remember if Sabayon is Debian based.

Here is a 2010 Debian Forum link.
__________________
"Unless someone like you cares a whole awful lot, nothing is going to get better. It's not"
- The Lorax, Dr. Suess
Reply With Quote
  #3  
Old 02-14-12, 01:28
RonnieJaysmith RonnieJaysmith is offline
Private E-2
 
Join Date: Feb 2012
Location: Florida
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Smile Re: Wireless Hotspot Using hostapd

Hello...
Firstly you need to check that the card you are using is capable of "master mode" Some are not capable of this and would therefore not be suitable for use as an AP.
If it's suitable then you at least need to setup a route between the wifi card and your LAN NIC.
You can of course spec this easily by copying the net. init file and modify this there by bypassing the general net protocol which will use the list from /etc/udev/rules.d/70-persistent-rules.net as a list for .eth0,eth1 etc.
Try disabling wme_enabled=1, my laptops couldn't connect to such ap, disabling it fixed the problem.
After you was associated with your WLAN you have to run dhclient
in order to obtain an IP from DHCP server or assign a static IP.
The routing table must be adjusted also. Or you can edit /etc/rc.conf and restart your network script with "/etc/rc.d/netif restart".

Cheers!!
Ronnie
Reply With Quote
The Following User Says Thank You to RonnieJaysmith For This Useful Post:
BoredOutOfMyMind (02-14-12)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
personal wireless hotspot questions? elfqueen33 Networking 3 06-06-11 14:45
Hotspot Shield v1.37 jason98 Software 1 01-25-10 14:49
wifi hotspot question skulldoctor Networking 1 11-15-04 13:07
Find a WiFi-Hotspot near you Kodo Interesting Website Links 1 06-04-04 18:45


All times are GMT -5. The time now is 02:34.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|

-->
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger