LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-02-2005, 06:33 PM   #1
fjdog
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
No wlan0 on startup mepis


Hello,

I seem to be having trouble getting my wireless pci card to start on boot. It will only start after issuing the command iwlist wlan0 scan. Here are the results:

wlan0 Scan completed :
Cell 01 - Address: 00:13:10:35:8E:B7
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-84 dBm Noise level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:0F:B3:4A:4B:C1
ESSID:"MaynardNet"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.452 GHz (Channel 9)
Quality:0/100 Signal level:-62 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=200
Extra:atim=0

After this I am able to start wlan0 using mepis os center. Any suggestions on what needs to be fixed. Using ndiswrapper.

Thanks

Roland
 
Old 12-02-2005, 06:53 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Try adding this to /etc/network/interfaces
Code:
# Wireless interface
iface wlan0 inet dhcp
wireless-essid linksys
wireless-key off
auto wlan0
then
Code:
ifup wlan0
Then see if it comes up next time you boot.
 
Old 12-02-2005, 09:39 PM   #3
fjdog
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
That did not work. I am posting the network interface file from before your suggested additions. When I added the code, it gave me an error on boot saying it could not run auto wlan0 twice. I am looking to get this connected onto my wep-encoded network (i x'ed out the actual password), so the settings in the file seem to be correct. I think it might be ignoring them though.

Thanks.

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
mapping hotplug
script echo

auto lo
iface lo inet loopback

# DO NOT EDIT BELOW THIS LINE
#auto eth0
iface eth0 inet dhcp
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
#wireless_essid any
#wireless_mode Managed
#wireless_freq 0
#wireless_nwid none
#wireless_key off
#auto eth1
iface eth1 inet dhcp
address 192.168.0.15
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
#wireless_essid any
#wireless_mode Managed
#wireless_freq 0
#wireless_nwid none
#wireless_key off
#auto ath0
iface ath0 inet dhcp
address 192.168.0.15
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
#wireless_essid any
#wireless_mode Managed
#wireless_freq 0
#wireless_nwid none
#wireless_key off
# Wireless interface
auto wlan0
iface wlan0 inet dhcp
address 192.168.0.15
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
wireless_essid MaynardNet
wireless_mode Managed
#wireless_freq 0
#wireless_nwid none
wireless_key xxxxxxxx
# DO NOT EDIT ABOVE THIS LINE
 
Old 12-03-2005, 06:13 PM   #4
fjdog
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
As a followup, I disable wep from my modem/router and now I cannot get on to the network at all even after issuing: iwlist scan. Does ndiswrapper work ok with PCI cards? Setting up ndiswrapper was very easy on my laptop with the linksys pcmcia wireless g card.

Thanks
Roland
 
Old 12-04-2005, 10:56 AM   #5
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Should work if you have the right windows driver to wrap up. You must have the right one since it works after iwlist scan.

Try commenting out the address stuff like this:
Code:
auto wlan0
iface wlan0 inet dhcp
#address 192.168.0.15
#netmask 255.255.255.0
#broadcast 192.168.0.255
#gateway 192.168.0.1
wireless_essid MaynardNet
wireless_mode Managed
#wireless_freq 0
#wireless_nwid none
wireless_key xxxxxxxx
You might want to try with "wireless_key off" first to see if it works, then add the key. Make sure you have the key set up right in the router.
 
Old 12-04-2005, 12:55 PM   #6
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
If you want to a static address, you can try to remove dhcp from the iface line and leave in the address stuff.

It doesn't make sense to specify an address and ask for dhcp. If you want dhcp, make sure that your router is set up to be a dhcp server.
 
Old 12-04-2005, 09:44 PM   #7
fjdog
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
No luck. Still will not connect. I really can't figure this out. It seems that it should ifup, but nope. Linux is very frustrating for those who just want to use their computers not spend the weekend rebooting and wasting time. Sorry for the rant.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM
config wlan0 in MEPIS on HP zv5200 bentbear Linux - Wireless Networking 1 03-16-2005 08:19 PM
Where are wlan0 settings loaded from on startup? Steerpike Linux - Wireless Networking 3 11-23-2004 03:31 AM
Start wlan0 device at startup in mandrake 10 N1mrod Linux - Newbie 1 04-26-2004 08:53 PM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration