Cannot configure Static IP for Wired LAN

Please help, I am trying to configure the following Static IP on my wired LAN, but when I go and check the Connection Info after the config has been done, it seems like it is taking DHCP.

I am trying to setup the following settings:
I.P: 10.20.10.38
SUB: 255.255.255.0
GATEWAY: 10.20.10.229
DNS: 10.20.10.229

I am using OpenSuse 11, Gnome Desktop.
Please assist me

Did you turn off networkmanager and choose to use ifup method?

Yes, tried that, what happens then is the following: I enter the details which I supplied in the main post… but when I go and check the Connection Information, it seems like the connection was not configured with the I.P. address supplied to it.
It configures everything using the 10.20.10.229 address, instead of having my I.P. 10.20.10.38, Subnet 255.255.255.0, Gateway 10.20.10.229, DNS 10.20.10.229.
It shows to me: I.P. 10.20.10.229, Subnet 255.255.255.0, Gateway 10.20.10.229, DNS 10.20.10.229.
So in this case, it screws my network over.
The reason why I have to use the above mentioned I.P. address, is because that I.P. has gateway access on the Proxy, meaning I do not have to supply Proxy details to enter the net, and all ports are open for that I.P.
Please help me with this.

Sorry never seen anything like that before. What I’ll do is give you the locations in YaST where the items are entered:

Global settings: Network Devices > Global Options > ifup
Own IP address: Network Devices > Overview > Select NIC > Edit > Static address and enter details
Default gateway: Network Devices > Routing > Default Gateway
Nameservers: Network Devices > Hostname/DNS > Name Server 1+2 & Domain Search.

That should be all you need.

Ive followed the steps you supplied, then when I click Finish, it said that it needs to install the following 2 packages:

smpppd
Kinternet

Ive done this, now what must I do next ?
How can I check what my current network settings are?

No, that’s wrong. Static ifup does not need those packages. You must have some other option like knetworkmanager or kinternet selected as the interface configuration method. Did you try at some stage to configure the interface to use PPPoE? If it’s a static IP ethernet interface, none of that is needed.

Hi
True, however it does the same thing for me here, insists on needing
them if I switch to static ip. I wonder as I have an onboard modem in
this laptop (unconfigured) it decides you need them.

To the OP, just turn the smpppd service off if you don’t need it.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 12:24, 1 user, load average: 0.05, 0.11, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

I reloaded OpenSuse 11, using KDE 4, instead of Gnome. I configured everything and now its working fine.
Thanks for the help

Strange, then the problem is related to KDE 3.5/Gnome.
I also have a lot of issue with the network manager where it would not accept a fixed IP configuration and always switching back to DHCP. But I need a fixed IP and I only need the KNetworkmanager for connecting to wifi networks.

I fixed this by using two boot profiles in SCPM. One for an ifup configured network with fixed ip and one with the networkmanager active but this one always gets the IP from DHCP no matter what I configure.

I found no fix yet, there is a serious bug in the networkmanager in suse 11.

I haven’t tried KDE4 though.

As far as i am concerned, gnome has a network bug if using static IP’s. I spent 2 days entering DNS addresses and rebooting, trying to get it to store the addresses. Then I added KDE 3.5 desktop, configured the net there, everything worked. Switched back to gnome, everything worked.

Nice info and a helpful thread. “And a plus for KDE”:cool: