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. |
Post your ifconfig here. We'll take it one step at a time.
|
Thanks ever so much for posting. I am seriously stumped with this!
Code:
root@slackware:/# ifconfig 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 |
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. |
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 :) |
Cool....Seems to be you are almost there....
|
Yeah, I hope so :D
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 :) |
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) |
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 :D. 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 :) |
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) |
All times are GMT -5. The time now is 02:50 AM. |