Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] confused by network setup
2012. október 5. 7:42 napon Per Jessen <per@xxxxxxxxxxxx> írta:

Istvan Gabor wrote:

[snip]> But the problem is:

When I turn the computer off and boot it again, the network
is not getting configured, and I can not make the ADSL
connection to the network.

So the network devices are not getting started automatically.

What do you have in /etc/sysconfig/network ?

ifconfig shows this:

# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:106 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16031 (15.6 Kb) TX bytes:16031 (15.6 Kb)

Try activating your network devices with "ifup":

ifup eth0
ifup dsl0

And let us know how it goes.


Thank you Per.

I have this in /etc/sysconfig/network:

# ls -l /etc/sysconfig/network
total 80
-rw-r--r-- 1 root root 10797 2012-10-04 20:31 config
-rw-r--r-- 1 root root 6273 2012-10-03 19:21 dhcp
-rw-r--r-- 1 root root 183 2010-10-25 18:39 ifcfg-dsl0
-rw-r--r-- 1 root root 184 2012-10-05 14:18 ifcfg-eth0
-rw-r--r-- 1 root root 174 2010-03-18 19:42 ifcfg-lo
-rw-r--r-- 1 root root 27402 2010-03-18 19:42 ifcfg.template
drwxr-xr-x 2 root root 4096 2010-03-05 23:04 if-down.d
-rw-r--r-- 1 root root 239 2010-03-18 19:42 ifroute-lo
drwxr-xr-x 2 root root 4096 2010-03-06 17:53 if-up.d
drwx------ 2 root root 4096 2010-07-11 22:26 providers
-rw-r--r-- 1 root root 0 2010-10-25 18:39 routes
drwxr-xr-x 2 root root 4096 2010-12-10 00:13 scripts

# ifup eth0
eth0 device: nVidia Corporation CK8S Ethernet Controller (rev a2)
eth0 Startmode is 'off'
# ifup dsl0
dsl0 name: DSL Connection
interface dsl0 is up


kinternet tries to connect but can't.
ifconfig still gives:

# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:362 errors:0 dropped:0 overruns:0 frame:0
TX packets:362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35975 (35.1 Kb) TX bytes:35975 (35.1 Kb)


A googled in the meantime and found this:

http://ca.huji.ac.il/services/internet/connect/adsl/pppoe_linux.shtml

This says:

"Although PPPoE does not require an IP address to be set for your Ethernet
adapter some distributions may not initialize the adapter without it." I guess
this applies to openSUSE as well.
I assigned a statical IP address/subnet mask (10.200.1.1 /255.0.0.0) to the
network card in yast
and after rebooting the card was configured and network connection worked.
Is there a drawback of assigning a static IP address?
Might it be a bug that prevents network setup when no IP address is set for the
card?

Thanks,

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups