This is a discussion on how to switch between wireless networks without reboot within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I use my Slackware 10 and Gnome 2.8 laptop at home and work. I use a Cisco Aironet 350 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I use my Slackware 10 and Gnome 2.8 laptop at home and work. I use a Cisco Aironet 350 card due to the requirement for LEAP authentication at work and I have a 2Wire DSL modem at home. A fresh bootup in either location results in perfect operation however if I merely disconnect at home, suspend the machine and reconnect at work (or vice versa) I encounter problems. A prime example is tonight. I hooked back up at home after getting in from work and the connection went well. The problem is that I keep experiencing hangs with every thing I do - every click of the mouse, every button pressed, etc. I exited and rebooted and it works great. I have tried setting up two different network profiles using the Network Configuration tool but I have yet to get it to work as I assume it should. I can set the profile info but it doesn't seem to have any effect. Also, if I exit Gnome and later try to re-open it, if I have not rebooted it inevitably hangs during startup. My gut tells me the hanging is due to some sort of unresolved network connection attempt but I can't figure out how to pinpoint it. Is there a graceful way to disconnect from one network and reconnect on another without having to reboot? I know this is not necessarily a Slackware problem but I am using Slackware and I cannot seme to find anything solid about this in Gnome forums so far. I just hoped someone else may have experienced it and fixed the problem. Thanks for anything you can offer. Best, -Al A. |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Al Arduengo regaled us with the following: > I use my Slackware 10 and Gnome 2.8 laptop at home and work. I use a > Cisco Aironet 350 card due to the requirement for LEAP authentication > at work and I have a 2Wire DSL modem at home. A fresh bootup in > either location results in perfect operation however if I merely > disconnect at home, suspend the machine and reconnect at work (or vice > versa) I encounter problems. A prime example is tonight. I hooked > back up at home after getting in from work and the connection went > well. The problem is that I keep experiencing hangs with every thing > I do - every click of the mouse, every button pressed, etc. I exited > and rebooted and it works great. Try some of the suggestions at the following link: http://www.linuxquestions.org/questi...hreadid=228378 - -- Skorpion [skorpion at suespammers dot org] "Don't attribute to malice that which can be adequately explained by stupidity." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBaznTcTBCVvf50kkRAvq0AKCt4iuDYlbBuyvqvifbch H2nFC0LACfRxm0 bsdWMp5NMqNO3Jd4xovrZPE= =hyZe -----END PGP SIGNATURE----- |
| |||
| Al Arduengo wrote: > Is > there a graceful way to disconnect from one network and reconnect on > another without having to reboot? I'm not sure I fully understand the cause of your problem, but to start, stop, or restart the network, you can run: /etc/rc.d/rc.inet1 start /etc/rc.d/rc.inet1 stop /etc/rc.d/rc.inet1 restart If you have different interfaces set up for your different locations (i.e., home uses eth0, work uses eth1) you could do something like: /etc/rc.d/rc.inet1 eth0_stop /etc/rc.d/rc.inet1 eth1_start Hope that helps, Jeffrey |
| |||
| Madhusudan Singh <spammers-go-here@spam.invalid> writes: > Al Arduengo wrote: > > >> Thanks for anything you can offer. >> >> Best, >> -Al A. > > Use hotplug. I use a PCMCIA card with dhcpc. > > To switch networks, I simply pop it out and pop it back in again. THanks for this response. I actually have tried this but the problem is that on my work network we are required to use LEAP authentication and thereis no real way I know of to force this to happen unless I actually use either the Aironet client itself or one of the Cisco provided command line scripts that does it. Even then I usually end up having to reboot after a dozen or so failed attempts to restart the networking andhave it let me log in using LEAP. It all works fine if I simply reboot so I have to believe that reproducing whatever takes place at boot up would solv emy problem. Now I just have to study up on that process and give it a shot. Thanks very much again. Best, -Al |
| |||
| On Tuesday 12 October 2004 06:10 pm, Al Arduengo did deign to grace us with the following: > Madhusudan Singh <spammers-go-here@spam.invalid> writes: > >> Al Arduengo wrote: >> >> >>> Thanks for anything you can offer. >>> >>> Best, >>> -Al A. >> >> Use hotplug. I use a PCMCIA card with dhcpc. >> >> To switch networks, I simply pop it out and pop it back in again. > > THanks for this response. I actually have tried this but the problem > is that on my work network we are required to use LEAP authentication > and thereis no real way I know of to force this to happen unless I > actually use either the Aironet client itself or one of the Cisco > provided command line scripts that does it. Even then I usually end > up having to reboot after a dozen or so failed attempts to restart the > networking andhave it let me log in using LEAP. It all works fine if > I simply reboot so I have to believe that reproducing whatever takes > place at boot up would solv emy problem. Now I just have to study up > on that process and give it a shot. > I've never heard of LEAP before, but could you install something at home that would spoof your laptop into thinking it's just connecting at work again? Or, at least, not break your protocol. Something I've seen is, when you change some kind of config, like the inet1 start and so on, is # kill -HUP `cat /var/run/inetd.pid` makes it renew everything. Good Luck! Rich |
| ||||
| Al Arduengo wrote: > I use my Slackware 10 and Gnome 2.8 laptop at home and work. I use a > Cisco Aironet 350 card due to the requirement for LEAP authentication > at work and I have a 2Wire DSL modem at home. A fresh bootup in > either location results in perfect operation however if I merely > disconnect at home, suspend the machine and reconnect at work (or vice > versa) I encounter problems. A prime example is tonight. I hooked > back up at home after getting in from work and the connection went > well. The problem is that I keep experiencing hangs with every thing > I do - every click of the mouse, every button pressed, etc. I exited > and rebooted and it works great. > > I have tried setting up two different network profiles using the > Network Configuration tool but I have yet to get it to work as I > assume it should. I can set the profile info but it doesn't seem to > have any effect. Also, if I exit Gnome and later try to re-open it, > if I have not rebooted it inevitably hangs during startup. > > My gut tells me the hanging is due to some sort of unresolved network > connection attempt but I can't figure out how to pinpoint it. Is > there a graceful way to disconnect from one network and reconnect on > another without having to reboot? I know this is not necessarily a > Slackware problem but I am using Slackware and I cannot seme to find > anything solid about this in Gnome forums so far. I just hoped > someone else may have experienced it and fixed the problem. > > Thanks for anything you can offer. > > Best, > -Al A. Hi, This is the first thing I thought of... (im using wlan drivers, so my device name is wlan0, instead of wlan0 enter your device name). - do a iwconfig to see wich network you're connected to - if your connected to the one you want simply do a # dhcpcd wlan0 - if not do a # iwconfig wlan0 essid "My Network" (instead of My Network put the essid of the network you want to connect to) - Then, if dhcpcd isn't running do # dhcpcd wlan0 I hope this helps. If im wrong at any point someone please correct me. Succes and greets, C08RA |