DSL modem does not auto connect to internet

Asked by Milduser

I've been test driving ubuntu for about two weeks now despite a slow start during installation. It's a great OS to say the least and I'm very happy with the way it handle the software installation and other functionalities. However, I have a little difficulty in connecting to the internet on start-up. I've done what is required to get the DSL modem going, such as pppoeconf, pon, poff. Sadly, after about a week of fiddling with the network and its tools, I'm back to square one, which is I need to start Windoze, get the network connected to internet, reboot and from the Grub, start Ubuntu. Then only am I connected to the net, what a shame. Is there a bug somewhere that is causing the DSL such problem. Its a real hassle. Please help.

Following is a grab of terminal info which I hope is relevant and helpful:

chwa@chwa-desktop:~$ plog
chwa@chwa-desktop:~$ sudo ifconfig ppp0
[sudo] password for chwa:
ppp0 Link encap:Point-to-Point Protocol
          inet addr:60.50.139.165 P-t-P:219.93.218.177 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
          RX packets:241 errors:0 dropped:0 overruns:0 frame:0
          TX packets:242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:230678 (225.2 KB) TX bytes:35042 (34.2 KB)

chwa@chwa-desktop:~$ plog
chwa@chwa-desktop:~$ plog
chwa@chwa-desktop:~$ sudo pon dsl-provider
Plugin rp-pppoe.so loaded.
chwa@chwa-desktop:~$ plog
Jan 7 22:41:53 chwa-desktop pppd[5498]: Using interface ppp1
Jan 7 22:41:53 chwa-desktop pppd[5498]: Connect: ppp1 <--> eth0
Jan 7 22:41:54 chwa-desktop pppd[5498]: PAP authentication succeeded
Jan 7 22:41:54 chwa-desktop pppd[5498]: peer from calling number 00:90:1A:40:94:F3 authorized
Jan 7 22:41:54 chwa-desktop pppd[5498]: not replacing existing default route through ppp0
Jan 7 22:41:54 chwa-desktop pppd[5498]: Cannot determine ethernet address for proxy ARP
Jan 7 22:41:54 chwa-desktop pppd[5498]: local IP address 60.49.79.223
Jan 7 22:41:54 chwa-desktop pppd[5498]: remote IP address 219.93.218.177
Jan 7 22:41:54 chwa-desktop pppd[5498]: primary DNS address 202.188.0.133
Jan 7 22:41:54 chwa-desktop pppd[5498]: secondary DNS address 202.188.1.5
chwa@chwa-desktop:~$

Cheers

Milduser

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Milduser
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please open a terminal and type (ppp1 and ppp0 ?) :

sudo ifconfig -a

Please verify:

Jan 7 22:41:53 chwa-desktop pppd[5498]: Using interface ppp1
Jan 7 22:41:53 chwa-desktop pppd[5498]: Connect: ppp1 <--> eth0

Jan 7 22:41:54 chwa-desktop pppd[5498]: not replacing existing default route through ppp0

Have you used pppoeconf and you have configured it to start at pc startup...

Hope this helps

Revision history for this message
Milduser (ytchwa) said :
#2

Hi marcobra

I've done whatever is needed but to no avail. Maybe I'll document the steps that I've made:

1) open network, select (tick) wired connection (eth0), DCHP, saved under localhost location.
2) terminal: pppoeconf, answered all questions (sometimes, the process terminated due to access concentrator not detected), pon dsl-provider (activate at startup or login selected)
3) test connection using system>network tools. Everything seems fine.
4) However, on "cold" reboot (restart after PC shutdown for sometime) no DSL connection.
5) Check using Ifconfig -a ppp0 indicated device not found.

Just can't figure out what's going on. Anyway, my research indicated that there is a network manager called HAL or D-bus, that can help to simplify or resolve this problem. Where can I get this package for installation?

Thanks for all the help. Meanwhile, I can still get connected by first connecting through Windoze, then reboot to Ubuntu. A bit of of a hassle, but can live with it for the time being.

Hope for your further advice.

Revision history for this message
Milduser (ytchwa) said :
#3

Here's the additional info when I got connected:

chwa@chwa-desktop:~$ plog
Jan 11 22:04:51 chwa-desktop pppd[5594]: Using interface ppp1
Jan 11 22:04:51 chwa-desktop pppd[5594]: Connect: ppp1 <--> eth0
Jan 11 22:04:51 chwa-desktop pppd[5594]: PAP authentication succeeded
Jan 11 22:04:51 chwa-desktop pppd[5594]: peer from calling number 00:90:1A:40:94:F3 authorized
Jan 11 22:04:51 chwa-desktop pppd[5594]: not replacing existing default route through ppp0
Jan 11 22:04:51 chwa-desktop pppd[5594]: Cannot determine ethernet address for proxy ARP
Jan 11 22:04:51 chwa-desktop pppd[5594]: local IP address 60.49.77.7
Jan 11 22:04:51 chwa-desktop pppd[5594]: remote IP address 219.93.218.177
Jan 11 22:04:51 chwa-desktop pppd[5594]: primary DNS address 202.188.0.133
Jan 11 22:04:51 chwa-desktop pppd[5594]: secondary DNS address 202.188.1.5
chwa@chwa-desktop:~$ ifconfig -a ppp1
ppp1 Link encap:Point-to-Point Protocol
          inet addr:60.49.77.7 P-t-P:219.93.218.177 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
          RX packets:2706 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1944 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:402067 (392.6 KB) TX bytes:177323 (173.1 KB)

chwa@chwa-desktop:~$ ifconfig -a ppp0
ppp0 Link encap:Point-to-Point Protocol
          inet addr:60.50.134.24 P-t-P:219.93.218.177 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
          RX packets:2281 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2304 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2023659 (1.9 MB) TX bytes:410296 (400.6 KB)

My DSL modem (Aztech ADSL2+ 4 port router) is connected to eth0. I've got another ethernet card (D-link DFE-528TX) installed under device eth1. I'm not technically inclined and I can't understand the info.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

I think you have 2 instance of ppp protocol running...
I think you have made a double pppoeconf configuration with automatic startup on the 2 network cards:
eth0 and eth1
Please rerun the pppoeconf and try to disable the automatic startup of pppoeconf for the undesired device ( i think eth1 )

Hope this helps

Revision history for this message
Milduser (ytchwa) said :
#5

Hi

I've solved my problem by running a clean install again. The connection seem to be working fine now. Maybe the previous install have taken the bashing with my 'experimentation' and somehow the files were corrupted. Anyway, it's a good test drive and a good OS to stick with.

Revision history for this message
gayan janaka (gayangcs) said :
#6

hi
i using 7.10v
problam is network becouse when i am plug network cable and config ip. but i config WIN XP pc like this it's working but ubuntu is not working

Revision history for this message
Axl2008 (alexllub) said :
#7

HI, my problem to use pon dsl provider to connect started after updating gave me the following msg

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

I run dpkg --configure -a at the terminal and now the msg when I try to connect through the terminal is

The file /etc/ppp/peers/dsl does not exist. Please create it or use
a command line argument to use another file in the /etc/ppp/peers/ directory.

what shall I do?
txs for help