Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] confused by network setup
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Fri, 05 Oct 2012 15:40:12 +0200
  • Message-id: <k4mnvs$qd0$1@saturn.local.net>
Istvan Gabor wrote:

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

Ok, those were the two interesting ones.

# ifup eth0
eth0 device: nVidia Corporation CK8S Ethernet Controller (rev
a2)
eth0 Startmode is 'off'
^^^^^^^^^^^^^^^^^^^
That seems weird, isn't this your normal ethernet interface? I would
expect it to have Startmode="auto" ?

# 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)

I'm not very familiar with running DSL on a local device (I've only ever
used a separate DSL router/modem), but I would expect some kind of
point-to-point interface, probably pppoe0 - maybe a dsl0 interface too.


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?

I think you have quite likely hit a bug, I don't think this part of YaST
has been tested much. I remember trying to get a pppoe setup to work
with IPv6 maybe two years ago, the whole thing seemed a little flaky to
me.


--
Per Jessen, Zürich (18.9°C)

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

< Previous Next >