opensuse 11.2 can't connect to the network by pppoe method

Hi, I’m new to opensuse.

I was trying to setup the pppoe connection to access to the internet in my house. I did setup the connection successfully, however, it just can’t connect to the network. :frowning:
Is it a bug?
Then, How can I connect to the internet?

http://dl.dropbox.com/u/2438732/snapshot2.png

http://dl.dropbox.com/u/2438732/snapshot3.png

On Mon November 23 2009 11:26 pm, chanyunkwan wrote:

>
> Hi, I’m new to opensuse.
>
> I was trying to setup the pppoe connection to access to the internet in
> my house. I did setup the connection successfully, however, it just
> can’t connect to the network. :frowning:
> Is it a bug?
> Then, How can I connect to the internet?
<snip>
chanyunkwan;
Can you ping Google? In a terminal window enter:


ping -c3 74.125.95.103

If the answer is yes see:
http://forums.opensuse.org/network-internet/425297-dns-trouble-after-updating-opensuse-11-2-a.html

If the answer is no please post the results of:


ifconfig -a
/sbin/route -n
cat /etc/resolv.conf


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks for helping!! :slight_smile:

I can’t ping google~ It’s obvious that my laptop is not connecting to the internet at all.

I ran the commands and got these output.

yunkwan@kwan-laptop:~> sudo ifconfig -a
sudo: ifconfig: command not found
yunkwan@kwan-laptop:~> sudo /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:A9:50:3D:2B
inet6 addr: fe80::213:a9ff:fe50:3d2b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:384 (384.0 b) TX bytes:5256 (5.1 Kb)
Interrupt:16

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:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5400 (5.2 Kb) TX bytes:5400 (5.2 Kb)

wlan0 Link encap:Ethernet HWaddr 00:19:7D:C0:F8:5A
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wmaster0 Link encap:UNSPEC HWaddr 00-19-7D-C0-F8-5A-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

yunkwan@kwan-laptop:~> sudo /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
yunkwan@kwan-laptop:~> cat /etc/resolv.conf

/etc/resolv.conf file autogenerated by netconfig!

Before you change this file manually, consider to define the

static DNS configuration using the following variables in the

/etc/sysconfig/network/config file:

NETCONFIG_DNS_STATIC_SEARCHLIST

NETCONFIG_DNS_STATIC_SERVERS

NETCONFIG_DNS_FORWARDER

or disable DNS configuration updates via netconfig by setting:

NETCONFIG_DNS_POLICY=’’

See also the netconfig(8) manual page and other documentation.

Note: Manual change of this file disables netconfig too, but

may get lost when this file contains comments or empty lines

only, the netconfig settings are same with settings in this

file and in case of a “netconfig update -f” call.

Please remove (at least) this line when you modify the file!

Then what’s next?

Thank you

On Wed November 25 2009 03:46 am, chanyunkwan wrote:

>
> Thanks for helping!! :slight_smile:
>
> I can’t ping google~ It’s obvious that my laptop is not connecting to
> the internet at all.
>
> I ran the commands and got these output.
>
>> yunkwan@kwan-laptop:~> sudo ifconfig -a
>> sudo: ifconfig: command not found
>> yunkwan@kwan-laptop:~> sudo /sbin/ifconfig -a
>> eth0 Link encap:Ethernet HWaddr 00:13:A9:50:3D:2B
>> inet6 addr: fe80::213:a9ff:fe50:3d2b/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:384 (384.0 b) TX bytes:5256 (5.1 Kb)
>> Interrupt:16
>>
>> 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:76 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:5400 (5.2 Kb) TX bytes:5400 (5.2 Kb)
>>
>> wlan0 Link encap:Ethernet HWaddr 00:19:7D:C0:F8:5A
>> UP BROADCAST MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>>
>> wmaster0 Link encap:UNSPEC HWaddr
>> 00-19-7D-C0-F8-5A-00-00-00-00-00-00-00-00-00-00
>>
>> UP RUNNING MTU:0 Metric:1
>>
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>
>> collisions:0 txqueuelen:1000
>>
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>>
>> yunkwan@kwan-laptop:~> sudo /sbin/route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> yunkwan@kwan-laptop:~> cat /etc/resolv.conf
>> ### /etc/resolv.conf file autogenerated by netconfig!
>> #
>> # Before you change this file manually, consider to define the
>> # static DNS configuration using the following variables in the
>> # /etc/sysconfig/network/config file:
>> # NETCONFIG_DNS_STATIC_SEARCHLIST
>> # NETCONFIG_DNS_STATIC_SERVERS
>> # NETCONFIG_DNS_FORWARDER
>> # or disable DNS configuration updates via netconfig by setting:
>> # NETCONFIG_DNS_POLICY=’’
>> #
>> # See also the netconfig(8) manual page and other documentation.
>> #
>> # Note: Manual change of this file disables netconfig too, but
>> # may get lost when this file contains comments or empty lines
>> # only, the netconfig settings are same with settings in this
>> # file and in case of a “netconfig update -f” call.
>> #
>> ### Please remove (at least) this line when you modify the file!
>>
>
> Then what’s next?
>
> Thank you
>
>
chanyunkwan;
Have a look at this HowTo:
http://opensuse.swerdna.org/susenic.html
for configuring your network card. Clearly you are not getting an IP number.
You should probably check your ISPs web site to see what they require for
configuration. Often the DSL modem provided by the ISP is a combination
modem-router-switch and you need not configure pppoe.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Hello:
Large screen shots are not always helpful.
It looks like you have not configured your computer w/ administrator permissions. You will have to open yast w/ root password. Configure your network card w/ yast.
Next is the DSL(?) issues. You mentioned PPPoE. Is your outside connection a DSL? Yast also has a module to configure that.
On my own computers, I did not have to configure DSL. Once I set the interface cards, I got a connection, but, every setup is different. Every modem/service is different.
You will have to learn the command line interface. Open a console.
Go to (cd) /etc/sysconfig/network. “ls -la”
You should see a ifcfg listing for each device connected to this computer. “cat file_name” will show the contents.
Read. Learn. Eventually, you will start to understand something about what is going on.
The yast tool is not fool-proof. It has some problems. Once you have some understanding about what is going on, you can fix things from the console by changing text files.
I suggest you have pico. Try it. Very easy to use.
Good luck. Be aware that it takes awhile to understand to know what to ask. Everybody started dumb.

Thank you!

I figured that out a few days ago.
It’s because of knetworkmanager doesn’t work for DSL connection, though it provides DSL configuration interface.

I used YaST to switch to the traditional method to connect to the internet and use the DSL configuration in YaST. Then it works!

There’s also an alternative way, just remove the knetworkmanager and install the gnome networkmanager applet then run nm-applet. then I can connect to the dsl network by Gnome networkmanager applet which provides a very easy interface.