[opensuse] Diagnosing Network Problems
How do I diagnose network issues? I have a laptop running Intel Wifi 2200 b/g and connect both at work over cable (100bt) and at home over wifi. I'm running 10.3/KDE 3.5x. I use networkmanager for setting up the network and have KNetworkmanager running in the system tray. I have a static IP at home and a dynamic IP at work. After being at home Friday through Sunday, I got to work and was unable to get a connection for whatever reason. I got in the console, switched to root and typed dhclient. I was then on the network. Just now, I got home from work and fired up my laptop. After loading KDE, I was given the "starting connection." However - and this happens all the time - I was connnected not to my network but a neighbor's network. In fact, I could not connect at all, no matter whether I chose the network in the list (I had to enable broadcasting my ssid) or typing it. It would always go back to the other network. Only after a reboot could I connect. Two questions. 1. How do I diagnose this and view what is happening? 2. How do I fix this? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2008-12-22 at 19:23 -0800, Kai Ponte wrote:
Just now, I got home from work and fired up my laptop. After loading KDE, I was given the "starting connection." However - and this happens all the time - I was connnected not to my network but a neighbor's network. In fact, I could not connect at all, no matter whether I chose the network in the list (I had to enable broadcasting my ssid) or typing it. It would always go back to the other network.
Only after a reboot could I connect.
Two questions.
1. How do I diagnose this and view what is happening? 2. How do I fix this?
Ask your neighbour for his password :-p Sorry -joking - couldn't resist X-) I don't know. Maybe restarting the network service :-? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklQ2FsACgkQtTMYHG2NR9X5UACggxbF7aIFgz1daTxL3Z9MbzPG wrwAnAmzMPh/UEQKVDb4CCdZgaDzupXS =ZsEp -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
On Monday, 2008-12-22 at 19:23 -0800, Kai Ponte wrote:
Just now, I got home from work and fired up my laptop. After loading KDE, I was given the "starting connection." However - and this happens all the time - I was connnected not to my network but a neighbor's network. In fact, I could not connect at all, no matter whether I chose the network in the list (I had to enable broadcasting my ssid) or typing it. It would always go back to the other network.
Only after a reboot could I connect.
Two questions.
1. How do I diagnose this and view what is happening? 2. How do I fix this?
Ask your neighbour for his password :-p
Neighbor has no password. In fact, the neighbor has many open ports and at least two WinNT boxes on the network. (Sorry couldn't resist.)
Sorry -joking - couldn't resist X-)
I don't know. Maybe restarting the network service :-?
Thanks. How does one do this? Also, how do I tell what's going on? Is there a log somewhere? Doing tail /var/log/messages doesn't give me much. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-12-23 at 18:46 -0800, Kai Ponte wrote:
Carlos E. R. wrote:
Ask your neighbour for his password :-p
Neighbor has no password. In fact, the neighbor has many open ports and at least two WinNT boxes on the network. (Sorry couldn't resist.)
Shame on him! X-)
I don't know. Maybe restarting the network service :-?
Thanks. How does one do this?
Also, how do I tell what's going on? Is there a log somewhere? Doing tail /var/log/messages doesn't give me much.
I don't have much experience with wi-fi, but... there are two method in linux to connect to a network. One I name the "classic". It means configuring YaST and using the service rcnetwork to start it all. It is mature and known. It is not simple when you change networks. The other, new method, is via the networkmanager in the desktop. My feeling is that is still "flaky". You could try changing method, to the "classic". (the network script can enable a setting called "scripts/extradebug" and "DEBUG". Could be useful.) nimrodel:~ # rcnetwork Usage: /sbin/rcnetwork <action> [<config>] [<interface>] [-o <options>] actions: start|stop|status|reload|force-reload|try-restart restart|stop-all-dhcp-clients|restart-all-dhcp-clients options: [on]boot,hotplug,manual,check,debug,fake,nm,netcontrol type=<typelist>,skip=<skiplist> typelist: space seperated list of interface types skiplist: space seperated list of interfaces to skip for 'start' Looking at the script, I think it can be used to handle networkmanager, too. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklRqzAACgkQtTMYHG2NR9WHIgCbBRQfNXFe51Mc9+QNKoDCPcKL P80AnjyCYJs6WOBoWsIW8xLj1O+Xr2fa =Z8Jn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Kai Ponte
I don't know. Maybe restarting the network service :-?
Thanks. How does one do this?
shame that the cl is so easy :^) rcnetwork restart (as root). -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* Kai Ponte
[12-23-08 21:45]: I don't know. Maybe restarting the network service :-?
Thanks. How does one do this?
shame that the cl is so easy :^)
rcnetwork restart (as root).
Okay, thanks. Oh, I added a bug/wishlist so I dont' have to remember yet another commandline. This is 2008, after all... https://bugs.kde.org/show_bug.cgi?id=178641 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-12-23 at 23:27 -0800, Kai Ponte wrote:
Patrick Shanahan wrote:
* Kai Ponte <> [12-23-08 21:45]:
rcnetwork restart (as root).
Okay, thanks.
Oh, I added a bug/wishlist so I dont' have to remember yet another commandline. This is 2008, after all...
Huh? rcnetwork is a SuSE specific command, not a kde one. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklSUXIACgkQtTMYHG2NR9XRvQCeJAJOM09lzua7UsrDH/YdM5Zw z0MAn2wwb3a6qgdrg01ifWxAH4/GWICs =GoSy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2008/12/24 Carlos E. R.
Huh? rcnetwork is a SuSE specific command, not a kde one.
/etc/init.d/network restart might be more portable? But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2008-12-24 at 17:05 -0000, Rob OpenSuSE wrote:
2008/12/24 Carlos E. R. <>:
Huh? rcnetwork is a SuSE specific command, not a kde one.
/etc/init.d/network restart might be more portable?
It may have a different name and different functionality.
But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklSfWkACgkQtTMYHG2NR9UNPgCgihimA8v7bh4qm0ESyicjVTGp WrgAn2FBckor/ZPok3pQrSgA8wc5/nz8 =wL2+ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2008/12/24 Carlos E. R.
But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network.
Precisely but in KDE and Network Manger is using those technologies, not system start up scripts. So the whole rcnetwork restart, is a symptom of a problem, not part of the solution. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
On Wednesday, 2008-12-24 at 17:05 -0000, Rob OpenSuSE wrote:
But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network.
On an openSUSE list which presumably would indicate that the request is for an openSUSE system :^) -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Rob OpenSuSE
2008/12/24 Carlos E. R.
: But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network.
Precisely but in KDE and Network Manger is using those technologies, not system start up scripts.
No, he indicated that he was using 10.3/KDE 3.5x, but didn't *specifically* request a "KDE" command.
So the whole rcnetwork restart, is a symptom of a problem, not part of the solution.
Agreed, but the question was: Carlos E. R. wrote:
On Monday, 2008-12-22 at 19:23 -0800, Kai Ponte wrote:
I don't know. Maybe restarting the network service :-?
Thanks. How does one do this? -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2008/12/25 Patrick Shanahan
* Rob OpenSuSE
[12-24-08 13:39]: 2008/12/24 Carlos E. R.
: No, he indicated that he was using 10.3/KDE 3.5x, but didn't *specifically* request a "KDE" command.
So the whole rcnetwork restart, is a symptom of a problem, not part of the solution.
Agreed, but the question was:
Right, so it's KDE 3 not 4. But once GUI evironments, took it upon themselve not to punt to the system configured scripts, to handle such details; but accessed low level config stuff themselves in preference to calls of ifup/ifdown, there's a problem. That is why, 10.3 YaST Network Devices component has the option "Configure with Network Manager" or "Traditional method with ifup/down" in it. Network Manager duplicates functionality in a place and way that may make sense on desktop, but very much not on sever systems. I don't think the user wants to know about how it's done, but rcnetwork being able to talk to dbus and haldaemon is nice on openSUSE, but that intergration is SuSE code. Other distro's haven't done that, when I last looked. So now, if you're a KDE developer looking at that bug report, as Carlos pointed out "rcnetwork restart" is not a usable option, and as they're already talking to the low level stuff, rather than relying on system configuration, that is the way they'll go. It'll be no less portable than what they've written already. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2008-12-24 at 19:48 -0500, Patrick Shanahan wrote:
* Carlos E. R. <> [12-24-08 13:22]:
On Wednesday, 2008-12-24 at 17:05 -0000, Rob OpenSuSE wrote:
But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network.
On an openSUSE list which presumably would indicate that the request is for an openSUSE system :^)
I mentioned that rcnetwork is specific to suse, because Kai talked about reporting to bugs.kde.org, and they will know noting about that command.
- -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklS5jUACgkQtTMYHG2NR9VikACfQc+StOuS9j6orvaDpVJx3F5M ZZ8An0JkfSf3SwiSqzwK5GPu/C3SH08x =AunG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rob OpenSuSE wrote:
So now, if you're a KDE developer looking at that bug report, as Carlos pointed out "rcnetwork restart" is not a usable option, and as they're already talking to the low level stuff, rather than relying on system configuration, that is the way they'll go. It'll be no less portable than what they've written already.
Sorry for the firestorm. I just want a method to right click on the KNetworkmanager and restart the network without having to downgrade to the command line or remember funky commands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
On Wednesday, 2008-12-24 at 19:48 -0500, Patrick Shanahan wrote:
* Carlos E. R. <> [12-24-08 13:22]:
On Wednesday, 2008-12-24 at 17:05 -0000, Rob OpenSuSE wrote:
But, isn't he really asking for Non-broken Network Manager, which is communicating with HAL via dbus and all that funky stuff?
A method to restart the network.
On an openSUSE list which presumably would indicate that the request is for an openSUSE system :^)
I mentioned that rcnetwork is specific to suse, because Kai talked about reporting to bugs.kde.org, and they will know noting about that command.
if you look at the bug i reported it has nothing to do with restart network or rcnetwork. It has to do with knetworkmanager which is missing the functionality to restart the network. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2008-12-25 at 11:37 -0800, Kai Ponte wrote:
Rob OpenSuSE wrote:
So now, if you're a KDE developer looking at that bug report, as Carlos pointed out "rcnetwork restart" is not a usable option, and as they're already talking to the low level stuff, rather than relying on system configuration, that is the way they'll go. It'll be no less portable than what they've written already.
Sorry for the firestorm.
I just want a method to right click on the KNetworkmanager and restart the network without having to downgrade to the command line or remember funky commands.
That's understandable. We missunderstood what you said before. Maybe the suse folks added that funtionality to "rcnetwork" seeing that KNetworkmanager couldn't do it. I understand that the kde4 gadget is not complete. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklT6lkACgkQtTMYHG2NR9WsIACfb8JxVRKFEjLPY2ioBHivtqDK LukAn1ovbBO+gghvQa6+VGihz7sZfkm9 =pu+o -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
On Thursday, 2008-12-25 at 11:37 -0800, Kai Ponte wrote:
Sorry for the firestorm.
I just want a method to right click on the KNetworkmanager and restart the network without having to downgrade to the command line or remember funky commands.
That's understandable.
We missunderstood what you said before.
Maybe the suse folks added that funtionality to "rcnetwork" seeing that KNetworkmanager couldn't do it. I understand that the kde4 gadget is not complete.
But, the commandline is *definitely* not a downgrade. It *is* the liveline to your system, the aorta, and more an upgrade as not requiring a mouse and pictures, just a keyboard and text-screen. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* Carlos E. R.
[12-25-08 15:18]: On Thursday, 2008-12-25 at 11:37 -0800, Kai Ponte wrote:
Sorry for the firestorm.
I just want a method to right click on the KNetworkmanager and restart the network without having to downgrade to the command line or remember funky commands.
That's understandable.
We missunderstood what you said before.
Maybe the suse folks added that funtionality to "rcnetwork" seeing that KNetworkmanager couldn't do it. I understand that the kde4 gadget is not complete.
But, the commandline is *definitely* not a downgrade. It *is* the liveline to your system, the aorta, and more an upgrade as not requiring a mouse and pictures, just a keyboard and text-screen.
Exactly, why it is a downgrade. Back in the '80s I used computers which only had command line. There's no reason to force one to use either a commandline or a gui these days. Developers need to allow for both. A function such as "restart network" or "set cups password" should be a gui feature. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Kai Ponte
-
Patrick Shanahan
-
Rob OpenSuSE