On Mon, 10 Mar 2008, Eberhard Moenkeberg wrote:
Question is how do you determine if the network is up or not. This is quite difficult to find out ;) /proc/net/arp should show a MAC address for the default gateway.
Probably in some scenarios, but not all. :-( gp@rana> cat /proc/net/arp IP address HW type Flags HW address Mask Device gp@rana> Same reason why Firefox insists I'm offline when actually I'm connected via UMTS. The same may or may not hold for other "modems". Gerald -- Dr. Gerald Pfeifer E gp@novell.com SUSE Linux Products GmbH Director Inbound Product Mgmt T +49(911)74053-0 HRB 16746 (AG Nuremberg) openSUSE/SUSE Linux Enterprise F +49(911)74053-483 GF: Markus Rex --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org