I’m a recent convert - I’ve been BSD and Debian for years, but after opting to “waste a CD and a weekend” on 10.3, I have found a new home. Despite my disdain for zypper (and the over-engineering that means it takes 10 minutes to do a 3 second task), SuSE feels just about right.
I’ve always been one to ‘cut my own wood’, as it were, and being reliant upon NetworkManager is not what I’d like to be.
I created a /etc/sysconfig/network/ifcfg-wlan0 (after repairing the ethernet device in udevd to be wlan0, not wlan0_rename), and no matter what I do, ifup/ifdown state that the device is managed by NetworkManager.
Other than beating on the keyboard until YaST opens and says ‘make this a manual config device’, what are my options to make it load before X11?
NetworkManager works 100% in SuSE so far, unlike any other Linux derivative, but I just don’t like using it. I want my /etc/network/interfaces and a tree, dang it!
I’ve looked at SuSE 9, and earlier 10.x docs, but am still unable to answer myself. Any pointers will be greatly appreciated.
Hi
You can switch control from NetworkManager to ifup/down in Yast. GoTo Yast → Net devices → net card → global options: put the dot in “traditional ifup” rather than in “NetworkManager”
neptho, I’d like to work with you through the gateway issue when using traditional ifup. I’m not a fan of networkmanager either. Ironically, I had exactly the opposite problem earlier today when doing a fresh 10.3 install to work on another problem; Networkmanager got an IP but wouldn’t add gateway. I switched to traditional and, bam, gateway. Traditional has never failed me so you’ve piqued my interest.
run “dhcpcd-test eth0” (or eth1, blah blah) and verify that your machine is getting a gateway in the dhcp response.
check /etc/sysconfig/network/dhcp and make sure DHCLIENT_SET_DEFAULT_ROUTE=“yes”
That kind of destroys the point of using DHCP, no? Thanks for the assistance.
Hi lccts1,
Thanks for your assistance; I am being sent the gateway in the response, and I do have it set to set the default route. It’s incredibly bizarre that it just doesn’t get ‘setup’ with the ifup system.
make sure that you have no OTHER device that gets setup
for boot-time, or else the default-route won’t get set.
e.g. if your hard-wired interface is enabled at boot, go
in and change it to ‘manually’ or ‘never’, and then
your wireless should get its default-route.
Hmm, I do have an eth0 device, but I have set that to manual/off. Or, so YaST claims.
Can I just set a different metric for eth0 and turn it to ‘automatic’?
I used to do a nasty hack in Debian to grep the ifconfig status for a connection, and if found, it’d attempt dhcp on the interface, otherwise, it would be ignored.
It depends on what RFC you’re reading at the time. In common use, DHCP services have supplied this information for many years.
swerdna wrote:
|> It depends on what RFC you’re readingWhat’s an RFC?
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org