PDA

View Full Version : network manager


BoyWonder410
2006-09-06, 10:40 AM CDT
I'm using gnome network manager for wifi connectivity in FC5. Whenever I move my laptop out of range of the wifi and then back in (without shutting down, like inbetween classes) the wifi disconnects (obviously..) but then won't let me reconnect. Network manager sees the network, and attempts to connect, but doesnt. if i reboot it'll connect fine. I'd like to be able to move from class to class, or network to network, without having to reboot.

any advice would be nice.

HellRazor
2006-09-07, 03:03 PM CDT
I had a similar problem with my laptop and I fixed it by making a simple script that 'bounces' my wireless network interface:

#!/bin/bash

ifdown eth1
ifup eth1

exit 0

that's it!

BoyWonder410
2006-09-08, 10:40 AM CDT
thanks for your help. i've never written a script, so, could i just copy paste that into a text editor and put the file on my desktop for easy access? would i need to add it to the path?

BoyWonder410
2006-09-08, 11:51 AM CDT
i tried
ifdown eth1
ifup eth1

in terminal, and that didn't work.. and then i did an iwlist scan and got this

Warning: Driver for device dev1804289383 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

dev1804289383 Scan completed :
Cell 01 - Address: 00:12:7F:3F:D9:20
ESSID:"WKU-WIRELESS"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:off
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=88/100 Signal level=-42 dBm
Extra: Last beacon: 4452ms ago


what i find odd is that the device name isn't eth1 (it used to be) it's dev1804289383

and what does this mean:
Driver for device dev1804289383 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

and could that be the problem??

Iron_Mike
2006-09-08, 07:44 PM CDT
19.
Some things may be broken...

dev1804289383 Scan completed




Here's the culprit, there is a glitch in the initscripts the caused ethernet and wired device to be randomly assigned the device id. To fix it open a terminal window and su - to root and type:

gedit /etc/modprobe.conf

Add this line:

alias eth1 xxxxxxx

BIG NOTE, the X's represent what your wireless card is, in my case it is ipw2200, so change accordingly.

BoyWonder410
2006-09-12, 02:58 PM CDT
Here's my modprobe.conf (before i ever changed anything.... )

alias eth0 8139too
alias eth1 ipw2200
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0


looks like it's normal.. or at leas the way you say it should be.

Iron_Mike
2006-09-12, 03:09 PM CDT
Here's my modprobe.conf (before i ever changed anything.... )

alias eth0 8139too
alias eth1 ipw2200
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0


looks like it's normal.. or at leas the way you say it should be.

That's it, you could reboot the computer....

BoyWonder410
2006-09-14, 12:23 PM CDT
right, i have to reboot the computer (every time i walk from one wifi network to another). I didn't want to have to do that.

Iron_Mike
2006-09-14, 07:32 PM CDT
right, i have to reboot the computer (every time i walk from one wifi network to another). I didn't want to have to do that.

Have you tried using Network Manager "connect to other wireless network" option

BoyWonder410
2006-09-18, 12:00 PM CDT
yup. it tries to connect, then stops, works after i reboot.

Iron_Mike
2006-09-18, 09:37 PM CDT
yup. it tries to connect, then stops, works after i reboot.

Have you tried to use the activate and deactivate switches from the Network menu. System -->Administration -->Network Highlight your wireless and click edit, and force activate, deactivate to see if that clears it.....