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 02-27-2006, 03:18 PM   #1
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Rep: Reputation: 0
cant access network unless DSL modem is reset in Linspire 4.5


I have a wireless network and when I turn on my XP laptop it automatically connects to my network with no problem. When I boot up my Linspire laptop no connection unless I unplug my DSL modem and plug it back in and then with in a few seconds I am on the internet. Anyone have any thoughts on why this might be?
 
Old 03-05-2006, 10:26 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Could you provide a bit more detail on how your laptop is connected to your DSL modem? Based on what you've written here I'm not sure we could take a decent guess.
 
Old 03-05-2006, 11:56 AM   #3
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I have a dsl modem and router with a wireless access point. I have two laptops setup with wireless cards. One is an XP and one is Linspire 4.5. The XP connects to the wireless network with no problem. The Linspire will only connect to the internet if you unplug and plug back in the dsl modem. No matter what you do the Linspire laptop shows perfect network signal strength, recognizes my network, but will not connect to the internet unless you unplug and replug in the DSL Modem.
 
Old 03-05-2006, 01:46 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
That is seriously strange, and I suspect that messing with the DSL modem is causing something on the router/AP to reset and THAT is what is allowing you to connect. OK, here is a test to try. Fire up the Linspire box but DON'T reset the DSL modem. Open up a console and have a look at the outputs of ifconfig, iwconfig, route -n and the contents of your /etc/resolv.conf file. Now do the unplug/replug with the DSL modem and then do the same with the console commands. With any luck we should be able to spot what is changing on your Linspire box and find a more elegant solution than rebooting your DSL modem.

By the way, if you don't know about redirection, now is the time to learn. It is easy to save the outputs of the console commands by using >. So the command

ifconfig > ifconfig.txt

Will save the output of the ifconfig command in the file ifconfig.txt.
 
Old 03-06-2006, 01:08 PM   #5
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I am not sure I totally understand your instructions. I am new to the lInux console. I will see what I can do.
 
Old 03-06-2006, 05:42 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
If you run into trouble, post back and I'll try to give you more exact instructions.
 
Old 03-08-2006, 10:49 AM   #7
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I am sorry, but I would really like some more detail if its not too much trouble.
Thank You,
Stewill
 
Old 03-08-2006, 12:44 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
OK, boot up your computer but don't mess with the DSL modem just yet. Then open up a console and become root by using su - (don't forget the -). Once you're root, run the following commands:

ifconfig >ifconfig1.txt
iwconfig >iwconfig1.txt
route -n > route1.txt
cp /etc/resolv.conf resolv1.conf

That will create text files with the outputs of those commands and will tell us the state of your wireless conncetion when it doesn't work.

Now go ahead and reboot your DSL modem and get the wireless card to work. Then (again as root) use the same commands as above, only save the output to different files. That will give us the state of your card and network after it works. If you compare the before and after files, hopefully something will jump out. If you need another set of eyes, post the outputs here and we'll take a look.
 
Old 03-08-2006, 04:11 PM   #9
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Ok Thank you very much, I will try to give it a shot tonight. Again Thank you for your help.
 
Old 03-08-2006, 07:49 PM   #10
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
tewill:~# ifconfig >ifconfig1.txt
Stewill:~# iwconfig >iwconfig1.txt
lo no wireless extensions.

eth0 no wireless extensions.

Stewill:~# route -n > route1.txt
Stewill:~# cp /etc/resolv.conf resolv1.conf
Stewill:~#
ewill:~# ifconfig >ifconfig1.txt
Stewill:~# iwconfig >iwconfig1.txt
lo no wireless extensions.

eth0 no wireless extensions.

Stewill:~# route -n > route1.txt
Stewill:~# cp /etc/resolv.conf resolv1.conf
Stewill:~#
As you can see they are both the same. Where do I go from here?
 
Old 03-08-2006, 09:22 PM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You and I are definitely not on the same wavelength here. What I'm trying to get to happen here is for you to be able to show the state of your computer when the wireless card is not working, and then to show it again when the card is working. The reason I suggested using the redirection (the >) is that it would allow you to save the output of console commands into a file. However, by running exactly the same command twice, you overwrite the old information.

So the first time you run iwconfig > iwconfig1.txt, the stuff that is normally displayed on the screen is instead saved in the text file called iwconfig1.txt. If you open that file in a text editor, you'll see the contents. Now what you've said is that when you reboot your DSL modem, your wireless card will then work. If you then run iwconfig >iwconfig2.txt, you can compare the output when the card is not working to when the card is working.

The reason I'm suggesting you do this is that there are quite a number of things that could be going wrong here, and I need some clues to point you in a direction.
 
Old 03-09-2006, 10:13 AM   #12
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
OK, I think I see what you mean. I will try again tonight. Thanks for the patience.
stewill
 
Old 03-10-2006, 01:05 PM   #13
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I did what you suggested and both times it comes back no wireless interface found.
 
Old 03-10-2006, 05:25 PM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Now I'm really confused. When you reboot your DSL router, do you get a wireless connection or not? I was assuming that this always worked.
 
Old 03-11-2006, 07:21 AM   #15
stewill
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, I was on the internet after I reset the modem and when i typed in the commands you gave me whether i was on the internet or not, it still came back no wireless found. I thought that was kind of weird.
 
  


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
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 07:32 PM
BlackBerry 7130e as modem to access EV-DO network tadatoshi Linux - Laptop and Netbook 0 11-12-2005 09:24 PM
Does turning off my router and DSL modem reset or? M$ISBS Linux - Networking 4 07-04-2005 09:04 PM
No network/internet access with dhcp and cable modem skippy1283 Linux - Networking 3 05-26-2004 09:11 AM
Modem access as well as network access NelsonN Mandriva 5 12-01-2003 08:55 PM


All times are GMT -5. The time now is 12:43 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration