LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-09-2006, 01:28 AM   #1
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
Neither wireless or wired network is working


I have a Vaio laptop with an Intel Pro/100 wired LAN port and an Intel 2200BG wireless controller.

It didn't take much to get the wired port working, just compile e100 into the kernel.

Then I attempted to use wireless. This is my first forray into wireless, and its on linux, so I am having a little trouble.

I got the drivers for my wireless card and followed the instructions on the IPW2200 site, and it didn't work. You can see my thread in the wireless forum about it.

So I decided to do other stuff with my laptop and plugged the calbe back in. And now the wired port is not working either. I can ping local machines, even log into my router, stream mp3s from my other slack box etc, but no internet. /etc/rc.d/rc.inet1.conf is set to DHCP and is basically identical to my other linux machine. ifconfig eth0 returns basically the same on both, except my laptop has an IPv6 IP too.

At boot I get a message saying no IPv6 routers have been found.

I would like to get wireless working, but more importantly I need the wired controller back up.

Please someone help me

PS I hope I have given enough info on this. Google is being really unhelpful with regards to any networking on linux.
 
Old 04-09-2006, 07:33 AM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
Post your ifconfig here. We'll take it one step at a time.
 
Old 04-09-2006, 05:49 PM   #3
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Thanks ever so much for posting. I am seriously stumped with this!

Code:
root@slackware:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:4A:F5:69:09
     inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
     inet6 addr: fe80::201:4aff:fef5:6909/64 Scope:Link
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets: 1 errors:0 dropped:0 overruns:0 frame:0
     TX packets: 6 errors:0 dropped:0 overruns:0 frame:0
     collisions:0 txqueuelen:1000
     RX bytes:60 (60.0 b) TX bytes:468 (468.0 b)

eth1 Link encap:Ethernet HWaddr 00:16:6F:47:F3:3B
     inet6 addr: fe80::201:4aff:fef5:6909/64 Scope:Link
     UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
     RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 frame:0
     collisions:0 txqueuelen:1000
     RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
     Interrupt:10 Bast address:0x2000 Memory:b0108000-b0108fff

lo   Link encap:Local Loopback
     inet addr:127.0.0.1 Mask:255.0.0.0
     inet6 addr: ::1/128 Scope:Host
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets: 1 errors:0 dropped:0 overruns:0 frame:0
     TX packets: 6 errors:0 dropped:0 overruns:0 frame:0
     collisions:0 txqueuelen:1000
     RX bytes:784 (784.0 b) TX bytes:784 (784.0 b)
At startup get a notice saying several lines of /etc/rc.d/rc.inet1 are unreadable. "eth_up". Looking in that file there are 7 lines at the top, and two further in lines of code. Also at startup it says no IPv6 routers found. I don't know much about networking but I know I don't have/need IPv6.

EDIT: Just rebooted again, eth1 (wireless) does not start, I turned the hardware switch off. Same messages as before, but the wired network seems to be working. Locally and the internet. I am going to reboot with wireless activated to see what happens.

OK, rebooted with no cable plugged in and the wireless on, and ifconfig returns this:

Code:
eth1 Link encap:Ethernet HWaddr 00:16:6F:47:F3:3B
     inet addr:192.168.0.46 Bcast:192.168.0.255 Mask:255.255.255.0
     inet6 addr: fe80::201:4aff:fef5:6909/64 Scope:Link
     UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
     RX packets:55 errors:0 dropped:0 overruns:0 frame:0
     TX packets:19 errors:0 dropped:0 overruns:0 frame:0
     collisions:0 txqueuelen:1000
     RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
     Interrupt:10 Bast address:0x2000 Memory:b0108000-b0108fff

lo   Link encap:Local Loopback
     inet addr:127.0.0.1 Mask:255.0.0.0
     inet6 addr: ::1/128 Scope:Host
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets: 1 errors:0 dropped:0 overruns:0 frame:0
     TX packets: 6 errors:0 dropped:0 overruns:0 frame:0
     collisions:0 txqueuelen:1000
     RX bytes:784 (784.0 b) TX bytes:784 (784.0 b)
I can now ping both on wired and wireless. Wired accesses the internet, but wireless just says network unreachable (in links). Hope this is enough info to help you help me I'm off to do my mid semester exams now "yay".

Last edited by hsimah; 04-09-2006 at 06:03 PM.
 
Old 04-09-2006, 05:54 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
Goto http://www.slackware.com/~alien/rc_scripts/
and get those scripts. Copy them to /etc/rc.d and make them executable.

Then run 'netconfig' again, then reboot, and see if anything works.

If eth0 works, make a backup of those scripts, then try to get your wireless working.
 
Old 04-09-2006, 06:46 PM   #5
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
OK, did that. Wired network is working fine with static IP. All files backed up, just in case. Edited for wireless.

My router "sees" my computer, ping says "Destination host ureachable". I think its my WEP key. I put it in right, but I think it may be in the wrong config file or soemthing.

Thanks for the help, I'll have a twiddle after my exam
 
Old 04-09-2006, 08:40 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
Cool....Seems to be you are almost there....
 
Old 04-10-2006, 12:58 AM   #7
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Yeah, I hope so

After this I just have to get multiple accesspoints working (so I can use it at uni), and power management (none on right now).

OK. Update. Right this second it is wireless is working. What I did was just include the ESSID and KEY in rc.wireless.conf. Then I ran /etc/rc.d/rc.inet1 eth1_start and it worked. Eth1 is set up to use DHCP. I don't like DHCP, I prefer static IP's on my LAN (just for ease of use), but it is working with it, so my laptop can run one for a while.

I compiled the driver for my wired controller into the kernel, is there anyway to stop that connection starting at startup, cause I won't use it unless absolutely nexessary. I used to load the module and it would run, but I thought there may be another way (ie Don't wanna do a kernel recompile :P)

I am backing all this up now and rebooting to see if it works. Thank you cwwilson, you have been a great help

1 reboot, 1 kernel recompile (audio issue), 1 reinstallation of drivers for wireless card, and now 1 wireless slackware laptop. Now to get multiple access points

Last edited by hsimah; 04-10-2006 at 01:32 AM.
 
Old 04-10-2006, 06:21 PM   #8
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
In that same link I gave you earlier, there is a dir called 'ifcfg'....I use it, and it does EXACTLY what you want. If the ethernet cable is not plugged in, it waits for it, but will continue with the wireless...usually. I had to add a script to my /etc/rc.d/rc.inet2 to make double sure. I'll post it if you need it. Just read the instructions in that directory.

As for the multi access points, do a search on good ol' Google, or here at Networking or Slackware forums.

And again, Welcome to Slackware!

PS: You can check out my setup at my homepage (link is in my sig)

Last edited by cwwilson721; 04-10-2006 at 06:26 PM.
 
Old 04-11-2006, 07:53 PM   #9
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Ah, thats awesome! Thank you

I have some info on multiple accesspoints, and I am going to uni today to test them out.

EDIT: OK, I am currently using wireless at uni . I didnt have time to try any of those scripts, I just load/unload e100 when I need it (rarely). I havent been able to get multiple AP's, but I just changed rc.wireless.conf to pick up the ESSID and channel of the wireless hotspot I am in (we have about 11 over the whole campus and I have been trying them all). That works nicely, but is a hassle. I will look into it further after my final exam, if I don't go to the pub.

Could you post your script in any case, cwwilson, I would like to take a look at it. I know nothing of scripting and would like to learn how things are done, so I like to look at all the examples I can.

Thanks for all your help, everything seems to be falling into place

Last edited by hsimah; 04-12-2006 at 12:01 AM.
 
Old 04-12-2006, 05:58 AM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
To make sure wlan0 fires up , I put this in rc.inet2 (If there is no wireless card, it won't run. Make sure you are using Alien's scripts tho):
Code:
# Make sure wlan0 is started if attached (Needed for NFS/Samba remote mounts also)
# Section added because, for whatever reason, 
# wlan0 does not autostart for me. Added by cwwilson721

if [ -x /etc/rc.d/rc.inet1 ]; then
 /etc/rc.d/rc.inet1 wlan0_start
fi
 
  


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
Linking a wired network to a wireless network gothgeek84 Linux - Wireless Networking 3 08-08-2005 02:38 PM
join the two wired network with wireless alvi2 Linux - Wireless Networking 2 04-04-2005 12:02 PM
Wireless Access On Wired Network Terje Linux - Wireless Networking 1 02-03-2005 10:20 AM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
router with mixed wired/wireless network takisd Linux - Wireless Networking 1 11-28-2004 01:52 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
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