How can I enable the network with Networkmanager WIHTOUT logging in in OpenSuse 11.2?
If I define a connection for ethernet the System connection is greyed out
I want to use Networkmanager because I have also wireless connectionsā¦
I set up a wireless connection that connects automatically without me
logging in to 11.2, I think there is a āsystem wide connectionā (or
similar) option when you go into āmanage connectionsā and āeditā the
connection.
I donāt think you should never login as root.
I think itās logical that only root of a machine can enable a system wide network connection and not the normal user ā¦
But of course I have first try to set it as normal user ā¦
But as noted now from others there is no way to set this?
Is this reported as bug?
So if Iām right the only solution is to disable NetworkManager and us traditional ifup methodā¦
What have we to track to be up-to-date of this problem?
It is the other way around. It can not be possible that a login in the GUI as root is needed for any configuration. Thus do not log in as root.
The normal way to start a network interface a boot (runlevel 3 and above) is of course the ātraditional method with ifupā. This can be done for ethternet and wifi. As this is impossible to do for the labtop enduser who wants to choose between available wifi connections after login network managers were invented and they work from within the ed-user GUI by design. But I can not tell you a way to change between these two methods on ⦠on what realy? How would the system know what you want to use today?
I was curious as how to do this as well. My goal was to at the log on screen, instead of logging into KDE, I wanted to log into the console and see if I had Internet. Even with my knetworkmanager on āautoā, im not using the yast network manager. There was no internet, I tested it by doing zypper install lynx. I donāt think knetworkmanager even initializes till you boot into KDE, so even with auto-set, you would not get internet in the console
So then I found this info online
Log into console
su -
ifconfig wlan0 up
iwconfig wlan0 key your_key_here
iwconfig wlan0 mode Managed
iwconfig wlan0 essid your_essid_here
dhclient wlan0
My friend did that on his laptop and it worked perfect! He was able to download and install lynx without going into KDE. I tried to do this real quick with my desktop at home before leaving to work. It didnāt seem to work, perhaps in KDE you have to give yast the network management first, instead of knetworkmanager in order for you to log into console first, and enter these commands with success?
Iāll have to try this with eth0 since im at work and on a lan. I hope this helps ya out! Not sure how to automaticly do this though.
This is doing by hand what either the init.d script does on reaching runlevel 3 and above, or what network manager does after being started from the GUI. I thought the OP asked for something automatic bringing up his interface.
So the commands I just typed are what init.d does automaticly before you boot up KDE? So is init.d not doing this automaticly because his gui network manager is given the permission for managing the network? So if you give yast the network permission over network manager, will init.d automaticly load the commands I typed before you log into KDE so internet will work logging into console?
Man I hope that made sense/you can understand what Iām asking:shame:
That is true. When you configure in YaST to use ātraditional method with ifupā, YaST will put the appropriate parameters in /etc/sysconfig/network/ifcfg-⦠(and other files there for routing, etc). It will see that the script starting/stopping the network in the* /etc/init.d* directory s linked to from the rc directories for runlevel 3 and 5. Thus at every boot this script runs and it will use the config files to execute the same commands (or very similar like *ifup *instead of ifconfig, but that is only detaiils) to achieve what you achieved.
How do you think this would function otherwise? Magic?
You can see w hat all these tools do by reading teir man pages
man ifconfig
etc.
This so called 'traditional method" is the 'normal method te be used in every computer room or desktop system, cabled or wifi.
I think itās pretty clear.
If no user is logged in the system wide default is on.
If a user login and changes the connection with NetworkManager this is the new oneā¦
What I have noticed is very nice with the networkManagerā¦
If I configure ethernet and wireless the default gw if from ethernet. Now if the ethernet is down the wireless default will be the new gateway and if ethernet comes back the ethernet default gw is again de the used one.
This is realy how it should work in my opinion: Very very nice!! Thanks to the developers and maintainers!!!
The only bad thins is realy that you must login.
So if you reboot the device remotely how do you login??? And now donāt tell me that you are always in front of you laptopā¦
I go out of house and have forgotten somethingā¦
Wakeup on lan and thatās it ā¦
Login remotly and get the stuff (ok with os10.3 it was so ā¦)