LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-30-2004, 10:02 PM   #1
Hironaga
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1 Professional
Posts: 4

Rep: Reputation: 0
Wireless cannot connect to network/Internet in SuSE 9.1


Hi there! I'm pretty new to Linux, so I'm not even gong to try and pretend I know what I'm talking about. But I looked and looked on the Forum and I can't seem to find an answer to this problem, So maybe someone can help me.

First of all, I'm using SuSE 9.1 Professional. Second, I'm on a Dell Latitude c600 laptop using a Dlink Airplus DWL-650+ with the TI chipset. I also installed the drivers from linuxant, which helped SuSE detect my wireless card. My router (this is what I don't understand) Can SEE that my card is connected! Iwconfig can also see that the card is connected. But using the mozilla browser, accessing my email, and even trying to log onto suse.com for any OS updates comes up with page not found. It just will not connect to the internet.

I've pointed my gateway at my router's internal ip address, (192.168.0.whatever) Disabled WEP encryption and I've filled in all the proper MAC addresses, but there has to be something I'm missing or have incorrect... If anyone can help me on this, please tell me what other information I can give, or what else I need to do to get this up and running. This is the only problem I've had with Linux so far.
 
Old 08-31-2004, 04:38 AM   #2
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
If you have access to the net otherwise go to http://www.linux-wlan for a full step by step configuration of your
wireless card with linux-wlan-ng
Joe
 
Old 08-31-2004, 07:59 AM   #3
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
This is the same problem that I'm having. Except I'm using ndiswrapper on Mandrake 9.2 with a Dlink DWL-G650. My card shows a connection, but I can't get online. wlan0 is listed in iwconfig and ifconfig, but when try to run ifup wlan0, it throws an error message. I looked at linux-wlan.com, and the only software I saw was for 802.11b 11Mbs. Does anyone know if this will work with 802.11g? Hironaga, post back if you have any luck--I've been tearing out my hair trying to figure this out, and it sounds like our problem is very similar.
-Kris
 
Old 08-31-2004, 08:28 AM   #4
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
What does the error say? can you copy and paste, plus the results of iwconfig wlan0 or ifconfig _a and post back /
Joe
 
Old 08-31-2004, 08:51 AM   #5
Hironaga
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1 Professional
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I tried to look at Linux-Wlan, but it says page not found (on my second machine, not my laptop) So I guess it's down for the time being. I was looking at my hardware settings last night, and my wireless card is configured to be a pci card and not pcmcia. Could this have something to do with it? I'm still looking for a solution on my end.
 
Old 08-31-2004, 09:16 AM   #6
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
Hironaga, the link is http://www.linux-wlan.com
Joe, the error I get on ifup wlan0 varies. On my laptop (running the DWL-G650) ifup wlan0 gives me "Determining IP...failed; link not present. Check cable?" On my desktop box (running a DWL-G520) the ifup wlan0 gives me some /sbin errors. However, when I set all the iwconfig values, it will sometimes work--but not on my laptop. I set all the iwconfig values, run ifconfig wlan0 up, and then it works. Well about once every 5 times. The rest of the time all my iwconfig settings are wiped out when i run ifconfig wlan0 up or ifup wlan0. I can't for the life of me see a pattern in when and how it resets all my iwconfig values.
 
Old 08-31-2004, 09:18 AM   #7
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
Oh by the way, that last post was one of the times my iwconfig settings worked. I didn't do anything different, but for some reason it worked. I'll run ifup wlan0 to get the exact error message. I'll post back if/when I get it running again.
 
Old 08-31-2004, 09:28 AM   #8
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
[root@192 kris]# ifup wlan0
Determining IP information for wlan0.../sbin/ifup: line 427: 3760 Terminated $DHCP_CLIENT $DHCP_ARGS
done.
/sbin/ifup: line 427: 3839 Hangup /etc/init.d/tmdns reload >/dev/null 2>&1
[root@192 kris]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.437GHz Access Point: 00:00:00:00:00:00
Bit Rate:54Mb/s
Encryption keyff
Link Quality:0/100 Signal level:-73 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Notice all my encryption and essid are reset.
And here's the process to get it up and running again. For some reason it didn't set the key the first time. No clue why.

[root@192 kris]# iwconfig wlan0 key open xxxxxxxxxx
[root@192 kris]# iwconfig wlan0 essid xxxxxxxx
[root@192 kris]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"xxxxxxxx"
Mode:Managed Frequency:2.437GHz Access Point: 00:00:00:00:00:00
Bit Rate:54Mb/s
Encryption keyff
Link Quality:0/100 Signal level:-68 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@192 kris]# iwconfig wlan0 key open xxxxxxxxxx
[root@192 kris]# iwconfig wlan0 essid xxxxxxxx
[root@192 kris]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"xxxxxxxx"
Mode:Managed Frequency:2.437GHz Access Point: 00:0D:88:B7:01:F6
Bit Rate:54Mb/s
Encryption key:xxx-xxx-xxxx Security modepen
Link Quality:0/100 Signal level:-69 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@192 kris]# ifconfig wlan0 up
[root@192 kris]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:0D:88:57:47:41
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20d:88ff:fe57:4741/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:569 errors:0 dropped:0 overruns:0 frame:0
TX packets:227 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:257225 (251.1 Kb) TX bytes:35707 (34.8 Kb)
Interrupt:10 Memory:cffe0000-cffeffff

[root@192 kris]#

I can't figure out why it won't take the key settings sometimes. The output is the same on my laptop, except the ifup wlan0 gives me the link not present error. And the ifconfig shows zero for transmit packets and bytes. It does show packets received.

NOTE: running ifconfig wlan0 up is not necessary. I just went to the store, came back, and the connection was down again. All values in iwconfig had been reset. So I typed them back in, DIDN'T do an ifconfig wlan0 up, and the connection is established again. I think my iwconfig prog is haunted.

Last edited by kersten78; 08-31-2004 at 10:01 AM.
 
Old 08-31-2004, 05:54 PM   #9
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Disclaimer: I do not know what I am talking about ...

but I don't have your problems ...

however, I too use a laptop and a tablet PC, since my son has hijacked my workstation ... that being said I think that your Wireless PC card 302.11g intermittent problems relate to power management and/or your BIOS settings i.e. after a period of inactivity the PC card will shutdown and maybe wake-up on re-establishing a connection. I do not have this problem with my Mandrake 10 virtual machine whether using the built-in Centrino wireless or my Netgear Wireless 32-bit Cardbus WG511 54 Mbps PC Card - I believe the reason for this is that there is no power management running in my virtual machine. Hence no interruptions and no resetting.

Hope this helps
 
Old 08-31-2004, 10:20 PM   #10
Setheck
LQ Newbie
 
Registered: Jul 2004
Location: Seattle
Posts: 25

Rep: Reputation: 15
can anyone tell me how to arbitrarily assign a gateway and nameserver to my wlan adapter?
Thanks
 
Old 09-01-2004, 03:52 AM   #11
Hironaga
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1 Professional
Posts: 4

Original Poster
Rep: Reputation: 0
Just a quick update on the war with the network. Noticed something funny this afternoon. My wired network was not registering on my router. Nor would it on my router at work! Strange, strange stuff. After wrestling that bear, I finally got it to recognise a wired connection. Time to get that wireless working...
 
Old 09-01-2004, 09:50 AM   #12
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
Hironaga, I made a bit of progress with my desktop system--no luck on the laptop yet, but I'm getting closer. Anyway here's what I did on my desktop.

1) I edited the /etc/modprobe.preload file. Add a line that says "ndiswrapper". That preloads the ndiswrapper module, which solved the problem of the card not being activated on boot. Still not connected on boot, but at least it's active.

2) I added my ESSID to the file /etc/sysconfig/network-scripts/ifcfg-wlan0
The file should contain something similar to this:
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp
I then added the following two lines to the end of it:
ESSID=myessid
KEY=mykey

For some reason, the key won't work, but now after boot everything is set except for the key and authentication.

Now, after I boot all I have to do is run iwconfig to set the key.
Then, I make sure it's listed in ifconfig. If it isn't do "ifconfig wlan0 up" For some reason (I think it's because the connection can't be established when booting) ifconfig shows a listing for wlan0 and wlan0:9. So I do "ifconfig wlan0:9 down"

Finally, when I have all the settings correctly set in iwconfig and the wlan0 device listed in ifconfig I run one command:
dhclient
The first time I did this, it assigned unique IP's to both my wired and wireless connection. So I unplugged the wired connection, rebooted, followed the exact same steps. Viola, my wireless connection was established and assigned an IP. Finally.

Hopefully this will help. And hopefully something similar will work with my laptop. If you have any questions, or more importantly if you get it to work, post back and let me know.

-Kris
 
Old 09-01-2004, 10:22 AM   #13
Hironaga
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1 Professional
Posts: 4

Original Poster
Rep: Reputation: 0
I think the WEP key has to be writeen something like xxx-xxx-xxxx Something like a phone number. I'm not 100% on this. Could be just a SuSE thing, but worth trying out.
 
Old 09-02-2004, 11:00 PM   #14
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
Laptop is running. I followed the same steps as I did on my desktop system. For some reason it worked. I did make one change to the /etc/sysconfig/network-scripts/ifcfg-wlan0 file. I removed the ONBOOT line. For some reason I couldn't connect on boot no matter what I set for the key in ifcfg-wlan0, and the system would hang for a couple minutes while trying to start the interface. I'll be using multiple AP's, so I'll probably just write a script for each since I have to change all the iwconfig settings anyway. With ndiswrapper module loading -preload, the card is active on boot, so it takes me about 3 lines to get it running. Also, thank god for dhclient. I would still be tearing my hair out without it. That's the only thing that I could get to actually assign an IP to wlan0. Anyway, good luck to all who are trying to get an ndiswrapper card configured--it was a battle. I probably made it a lot harder than it should've been since I'm a relative newbe. But anyway...
-Kris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot connect to wireless internet using linux ipodlinux Linux - Wireless Networking 10 07-01-2006 01:35 PM
Can't connect to wireless internet! trendicoff Linux - Wireless Networking 5 11-28-2004 05:00 AM
Connect to internet through network kiteguy101 Linux - Newbie 1 10-22-2004 04:10 PM
Getting Suse 9.1 to connect to a Wireless network MDBlueIce Linux - Newbie 0 08-14-2004 11:07 PM
Suse 9.0 wireless network card,cannot access internet masaood Linux - Wireless Networking 7 12-04-2003 08:51 PM

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

All times are GMT -5. The time now is 12:44 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