I’m thinking of switching from Fedora to openSuse, whilst maintaining my Windows parttition for dual boot.
One of the bugbears with Fedora is networking - I can usually get an internet connection using dynamic IP addressing, but when i’m at work, I need static IP, and that means messing about in network manager and so on. It’s all a bit hit or miss, and it stops me using Linux more.
Windows allows me to have a static IP configuration, with an alternative dynamic configuration whenever the static IP is unavailable. I don’t need to do anything, just switch on.
Is there anything like this in openSuse? Alternatively, is it easy to switch between static/dynamic without rebooting?
> Is there anything like this in openSuse? Alternatively, is it easy to
> switch between static/dynamic without rebooting?
Sure, network manager in openSUSE 11 allows you to define different
connections for both wired and wireless connections.
I’ve got the same dilemma as you, only the opposite between work and home
I set my network card up to use DHCP and then right clicked the network
manager icon in system tray went to edit connections and defined a new
connection for home using a static ip.
Network manager even auto selects the proper connection for meso I don’t
have to select it manually when switching between work and home.
–
Niclas Ekstedt, CNA/CNE/CNS/CLS
Systems Engineer/NSC Sysop
Telindus Sweden AB
I am able to set my ethernet connection in Windows to automatically assign IP information when I’m at home, and switch to the alternate configuration above when I’m at university. Both networks are wired, although I have a wireless card as well as the ethernet card in the PC.
I have tried various combinations in NetworkManager to do the automatic switching, depending on my location, but I always end up having to manually edit my settings.
Can anyone tell me (in simple terms!) how I achieve this in openSuse? I’ve managed to get a lot of things working myself, but this defeats me.
Lucky you. I’m stuck with the networkmanager bug in Opensuse. It will allow me to configure whatever I want but it just doesn’t work.
I defined Yast to use the network manager with a static IP. But when I reboot, I get no IP at all, so no network. I have to log in to KDE, rightclick the networkmanager and click the static IP config for eth0. Then I have network.
But I want a static IP whenever I start the pc. And that doesn’t work with Network Manager due to that bug.
So I used ifup now. But when I want to use my wifi connection in an easy way via Networkmanager I cannot do this anymore or I have to change the setup with yast, but then I loose my network connection at bootup again.
In other words, the NetworkManager in opensuse 11 sucks big time !!!
I prefer the one from opensuse 10.3, at least that one was crystal clear en fully functional.
I don’t know what they did but they screwed it up.
Suse already released an update but the issue is still present.
I experienced the same thing with Network Manager. My router-firewall assigns a static IP to this machine’s MAC Address, but after I did the deed in Network Manager I lost my internet connection. Should be simple, but 'tis not so.
Could be pure luck, but I had this with one system and after applying updates I cleared out specific network configuration (only the cfg files for eht & wlan, not the others!) in /etc/sysconfig/network and rebooted.
After reconfiguring the network adapters it all worked normally again.
For safekeeping move the files to a backup folder instead of deleting.
> I am able to set my ethernet connection in Windows to automatically
> assign IP information when I’m at home, and switch to the alternate
> configuration above when I’m at university. Both networks are wired,
> although I have a wireless card as well as the ethernet card in the
> PC.
>
> I have tried various combinations in NetworkManager to do the automatic
> switching, depending on my location, but I always end up having to
> manually edit my settings.
>
> Can anyone tell me (in simple terms!) how I achieve this in openSuse?
> I’ve managed to get a lot of things working myself, but this defeats
> me.
Make sure that your system is up to date as far as patches go. Hopeully
that’ll help you avoid any ugly bugs.
Have you tried setting your network card in YaST to DHCP?
If that’s done then all you should need to do is to create a new connection
for the university in networkmanager using the static config you listed.
Even if the automatic switching doesn’t work, all you should need to do is
to click the network manager icon and select your university connection and
it should make the switch.
–
Niclas Ekstedt, CNA/CNE/CNS/CLS
Systems Engineer/NSC Sysop
Telindus Sweden AB
>
> Niclas Ekstedt;1850860 Wrote:
>> aescott,
>>
>> > Is there anything like this in openSuse? Alternatively, is it easy
>> to
>> > switch between static/dynamic without rebooting?
>>
>> Sure, network manager in openSUSE 11 allows you to define different
>> connections for both wired and wireless connections.
>> I’ve got the same dilemma as you, only the opposite between work and
>> home
>> I set my network card up to use DHCP and then right clicked the
>> network
>> manager icon in system tray went to edit connections and defined a new
>> connection for home using a static ip.
>> Network manager even auto selects the proper connection for meso I
>> don’t
>> have to select it manually when switching between work and home.
>>
>> –
>> _________________________________________
>> Niclas Ekstedt, CNA/CNE/CNS/CLS
>> Systems Engineer/NSC Sysop
>> Telindus Sweden AB
>
> Lucky you. I’m stuck with the networkmanager bug in Opensuse. It will
> allow me to configure whatever I want but it just doesn’t work.
>
> I defined Yast to use the network manager with a static IP. But when I
> reboot, I get no IP at all, so no network. I have to log in to KDE,
> rightclick the networkmanager and click the static IP config for eth0.
> Then I have network.
>
> But I want a static IP whenever I start the pc. And that doesn’t work
> with Network Manager due to that bug.
This reminds me of a similar problem that I experienced with the RC1 code.
All I did to resolve this problem was to in YaST remove the network card
altogether and add it back after a restart.
Have you tried that?
> In other words, the NetworkManager in opensuse 11 sucks big time !!!
> I prefer the one from opensuse 10.3, at least that one was crystal
> clear en fully functional.
> I don’t know what they did but they screwed it up.
> Suse already released an update but the issue is still present.
Sorry to hear this. If there truly is a problem still in network manager,
we should have a bug entered on it.
–
Niclas Ekstedt, CNA/CNE/CNS/CLS
Systems Engineer/NSC Sysop
Telindus Sweden AB
>
> I experienced the same thing with Network Manager. My router-firewall
> assigns a static IP to this machine’s MAC Address, but after I did the
> deed in Network Manager I lost my internet connection. Should be
> simple, but 'tis not so.
Have you tried redoing the config. Remove the connection in network manager
and remove the network card in YaST, reboot, and redo the config?
–
Niclas Ekstedt, CNA/CNE/CNS/CLS
Systems Engineer/NSC Sysop
Telindus Sweden AB