A newbie here…first post. Just installed openSUSE11 on a new compaq CQ40 laptop.
Cannot connect to internet. It’s an ADSL PPPoE connection, which is working fine on my desktop with PCLinuxOS.
I have configured it manually, using the grey applet on the taskbar. Unfortunately it detects the connection as eth0 (802-ethernet)… not pppoe. I have double checked that the info I entered is all correct (DNS etc).
Before logging in here I tried to search this forum using “dsl” and “pppoe” as search words; but could not get any results. I flipped through a lot of back pages, but could also not find anything.
So sorry for such a basic question… if it has come up before, could someone please direct me to the relevant thread?
Thanks.
How is the ADSL router connected to the computer? Via Ethernet or USB?
It’s connected via an ethernet cable.
If that is the case, you don’t have to do any ADSL settings in openSUSE. Just connect as if you are connected to a LAN/broadband directly. Just configure eth0 (if it is not done already). Can you post the output of:
/sbin/ifconfig
/sbin/route
Well, I have configured it several times; and no connection.
I’m not very familiar with command line; but I guess I can open a terminal, type in what you wrote, and then figure out how to post it. Maybe it can be copied to a pendrive and transferred to my desktop to post?
No success with command line… opened terminal and typed: “/sbin/ifconfig/sbin/route”
got: “not a directory”
Did this as “user”. Does one have to login as “root”?
Also could not copy output to open office to transfer to my online machine.
First of all, you can press Alt+F2, type konsole and Enter to get a terminal. (I’m assuming that you are using KDE).
I showed 2 commands there and you typed everything in one line. That was why, it was giving that error. Type them one by one.
In the terminal, you can mark the output and then, copy & paste. (Options available in the menu at the top).
You can use programs like kate or kwrite to save the output to a file (no need to use HEAVY OpenOffice).
bazzaman wrote:
> Well, I have configured it several times; and no connection.
if you had the computer plugged into the router with an ethernet cable
you probably HAD internet connection when installed…
didn’t it update packages?
it “just works” (usually) no configuration requried…
(the pppoe and adls stuff is for those who have a CARD built into
their computer which does all the stuff done for you (and me) with a
wire running to a “adsl modem” or “cable modem”)
if you ran a Live CD you could probably connect to the net,
automatically…same for a normal install…
–
natural_pilot
Syampillai, I opened Konsole using the icon in ‘Favorites’… is that OK, or do I have to go the route you mentioned. I ask because it seem to act a little quirky. e.g. the cursor was black at times, then white.
I first tried to enter the commands as two lines; but when I hit enter after the first line (to go to the next line) it came back “not a directory”.
So how does one enter two lines without entering the first as a command?
natural_pilot: no connection made upon installation… so no update of packages.
I have recently installed PCLinuxOS on my desktop; and it took a lot of messing about with the installation wizard to get connected. But at least it differentiated between ethernet and dsl.
I am hoping there is someone who can tell me that they have connected to an adsl line using pppoe. Then I would know that it can be done… rather than it should be done automatically upon installation.
Sympillai… I opened konsole using alt f2, and it gave a better result than using the icon. Was able to enter the command lines and get a readout.
ubazza@linux-8od0:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:5A:A3:6E:60
inet6 addr: fe80::223:5aff:fea3:6e60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:184549365 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)
Interrupt:216 Base address:0x2000
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:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4268 (4.1 Kb) TX bytes:4268 (4.1 Kb)
ubazza@linux-8od0:~> /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
ubazza@linux-8od0:~> bazza@linux-8od0:~>
bash: syntax error near unexpected token `newline’
ubazza@linux-8od0:~> ubazza@linux-8od0:~> /sbin/ifconfig
bash: /sbin/ifconfig: Permission denied
ubazza@linux-8od0:~> eth0 Link encap:Ethernet HWaddr 00:23:5A:A3:6E:60
bash: eth0: command not found
ubazza@linux-8od0:~> inet6 addr: fe80::223:5aff:fea3:6e60/64 Scope:Link
bash: inet6: command not found
ubazza@linux-8od0:~>
Previously I had looked for a lighter wordprocessor but by going applications>office>word processor could only get O.O.Writer. Guessing that alt f2 might work, I entered kwrite and found it. So at least I’ve learned a usefull shortcut for opening programs.
Now if I can only get cnline…
Applications can be found from the menu also (Just click on the menu button on the bottom left corner of the screen and see).
From the output of /sbin/ifconfig, I can see that you haven’t got IP address from your router.
eth0 Link encap:Ethernet HWaddr 00:23:5A:A3:6E:60
inet6 addr: fe80::223:5aff:fea3:6e60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:184549365 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)
Interrupt:216 Base address:0x2000
We will analyze that. Go to Yast (for this, after pressing Alt+F2, type yast and press Enter). It will ask for the root password to proceed.
Go to Network Devices → Network Settings.
Make sure that, under Global Options tab, “Traditional Method with ifup” is selected.
Under Overview tab, you will see the network card entry. Make sure that it says DHCP there. If you see “Not configured” there, highlight it by clicking on it and click the “Edit” button. Make sure that “Dynamic Address DHCP DHCP both version 4 and 6” are selected.
Click “Next”, “OK” and come out.
Execute the following command again from a terminal and post the result:
/sbin/ifconfig
OK, thanks Syampillai… It’s getting late here (Malaysia) and I have to travel tomorrow; so it will be Saturday morning before I can get to that. If I were to try it now, I’d probably mess it up out of fatigue.
But it sounds promising…
OK, try and post back the result when you get time.
Hi Syampillai,I did what you said,and here are the results:
ubazza@linux-8od0:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:5A:A3:6E:60
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:5aff:fea3:6e60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:183 errors:0 dropped:430739425 overruns:0 frame:0
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12616 (12.3 Kb) TX bytes:23940 (23.3 Kb)
Interrupt:216 Base address:0x8000
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:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6224 (6.0 Kb) TX bytes:6224 (6.0 Kb)
ubazza@linux-8od0:~>
hope you can peruse them at your leisure…
Looks good. You got IP address now: 192.168.1.4.
I think your Internet should be working now. Open a browser and see if you can browse.
If you can’t, post the output of the following:
/sbin/route
cat /etc/resolv.conf
Hi Syampillai, no connection yet. When hold cursor over icon in system-tray, pop-up says “Network Manager is not working.”
The IP address you have is close but out by one digit.
I am obviously not a techie, but I had a problem last month getting connected on my desktop with a new install of PCLOS 2009. My first experience with Linux was on PCLOS 2007. I had to do a lot of trial and error to get pppoe working. No command line; but the wizard (drake) was a little ambiguous. 2009 has a new wizard. It kept trying to put me in ethernet, and showed a different IP address (and I think Gateway was wrong too.) So I hooked up a laptop with XP on it and got all the right info for IP address, netmask, gateway, dns etc.
Then I got connected.
The reason I’m telling you all this is because I really don’t know what all these things mean. I just know that I got connected by being careful to enter the right data.
So here’s where I’m confused. I am now writing this on the pclos desktop, and when I hover the cursor over the icon bottom right corner I get a very different IP address and gateway… DNS is right though.
So do these values change?
Anyway I tried to enter the commands you gave me…"/sbin/route
cat /etc/resolv.conf"
but had difficulty doing so. Before I could finish typing I’d get a readout (something like ‘not a valid command’, but not too sure about wording.
I was trying to be careful (putting a space between ‘cat’ and /etc… and this is the best I could get:
ubazza@linux-8od0:~> /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
cat /etc/reso192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
lv.conf
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
ubazza@linux-8od0:~> 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!
nameserver 192.168.1.1
ubazza@linux-8od0:~>
In this readout Genmask is correct; and nameserver (gateway?) is correct except for positioning of last decimal point.
It has taken a very long time to get pages to load on this forum tonight; so I leave any response until tomorrow.
Thanks for your help.
The output looks like everything is working.
First of all, we are not using “networkmanager”, so, rigt-click on it and quit.
Don’t worry about anything else now. You are making progress.
Post the output of the following:
nslookup www.google.com
OK, have quit ‘network manager’…
output:
nslookup [Google](http://www.google.com)
;; connection timed out; no servers could be reached
ubazza@linux-8od0:~> nslookup Google
;; connection timed out; no servers could be reached
ubazza@linux-8od0:~>
Looks like your router is not resolving DNS for you. Do you have any information from your ISP about setting up any DNS entries?
A good ISP automatically provide that information to the router whenever it connects. But, in your case, it doesn’t seem to be happening. If you can get that information, we will manually feed in those. It will be one or more IP addresses.
Also, from a browser, try the following address so that you
should be able to connect to the router to see its configuration.
(Do not try to change anything if you don’t know what you are doing).
http://194.168.1.1
As of now, you are actually connected to the Internet. However, you are unable to browse because your DNS is not configured.
Hi Syampillai, cannot connect to router with Firefox, so no info there.
I searched the U.S. OpenSUSE forum (OpenSUSE.us - View topic - internet connectionusing) pppoe as search word. Five posts; but none of them solved. One of them linked to two blogs addressing this problem (Bryan technical world: Using pppoe connect to internet (kde or gnome) on openSUSE and SuSe Using DSL with Linux - www.reallylinux.com ).
Both of them seem over my head.
As for getting DNS info from my ISP, well I think that would be quite difficult. I’m with Telecom Malaysia’s Streamyx; and they have a help-line, but communication is a bit difficult. Also I’m guessing Malaysia is about 99% Windows, so Linux is a big unknown here.
I guess I’ll just bail on this distro… I don’t want to mess up my modem’s configuration, since it is working well on PCLOS.
Sorry for taking up your time, and thanks for your efforts.