Chicken and the Egg
#1
Posted 15 August 2006 - 01:54 AM
Lurking on forums, I found one thread with a similar issue back in 2004. A person mentioned that the solution was to "simply type apt-get gnome-ppp". The problem? I need an Internet connection to get an Internet connection. I can't simply get gnome-ppp and copy it over because it includes about ten dependencies- each of which have dependencies of their own. Even if I could, there's no certainty that it would fix the problem.
I tried to connect through a terminal via the pppconfig then pon commands. This created a lasting connection (once) but didn't allow any internet activity (either though a browser or apt-get). Does anyone have any ideas of things to try? Thanks. -Damian
System:
HP Pavilion 7845
863MHz PIII processor
256MB ram
Master HDD: 40 GB
38GB Windows 2000 (NTFS)
2GB FAT32
*Windows was installed with a normal Windows 2000 disk
Slave HDD: 10 GB
Xubuntu 6.06
#2
Posted 15 August 2006 - 01:38 PM
#4
Posted 16 August 2006 - 07:12 AM
If you prefer a lightweight desktop, there are also Xfce4 packages available for Fedora Core 5. You find these packages in the Fedora Extras repository.
#5
Posted 16 August 2006 - 03:11 PM
wvdialconf /etc/wvdial.conf
as root in terminal.
"This will identify the port your modem is on, establish an initialization string for your modem and save the results in the /etc/wvdial.conf directory."
Then edit /etc/wvdial.conf to reflect your settings.
#6
Posted 17 August 2006 - 12:31 AM
atagar@pc1:~$ sudo wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 56K External Modem Venus V.92 Serial s02.08.16iA06 V2 V92cap Mercury
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3 S4 S5 S6 S7 S8 S9
Modem Port Scan<*1>: S10 S11 S12 S13 S14 S15 S16 S17
Modem Port Scan<*1>: S18 S19 S20 S21 S22 S23 S24 S25
Modem Port Scan<*1>: S26 S27 S28 S29 S30 S31 S32 S33
Modem Port Scan<*1>: S34 S35 S36 S37 S38 S39 S40 S41
Modem Port Scan<*1>: S42 S43 S44 S45 S46 S47
Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
------------------------------
atagar@pc1:~$ sudo vim /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 115200
New PPPD = yes
Modem = /dev/ttyS0
ISDN = 0
Phone = 4951000
Password = password
Username = guest
------------------------------
atagar@pc1:~$ sudo wvdial
--> WvDial: Internet dialer version 1.55
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT4951000
--> Waiting for carrier.
ATDT4951000
CONNECT 45333 V42bis
--> Carrier detected. Waiting for prompt.
CVX Access Switch.
Access is restricted to authorized users only.
login:
--> Looks like a login prompt.
--> Sending: guest
guest
password:
--> Looks like a password prompt.
--> Sending: (password)
Exiting shell, and starting PPP session.
~[7f]}#@!}!}!} }8}!}$}%\}"}&} }*} } }%}&}0}&>T}'}"}(}"n}#~~[7f]}#@!}!}"} }8}!}$}%\}"}&} }*} } }%}&}0}&>T}'}"}(}"$[11]~
--> PPP negotiation detected.
--> Starting pppd at Wed Aug 16 14:11:58 2006
--> Pid of pppd: 5216
--> Using interface ppp0
--> pppd: ??[05][08]
--> pppd: ??[05][08]
--> pppd: ??[05][08]
--> pppd: ??[05][08]
--> local IP address 64.40.63.246
--> pppd: ??[05][08]
--> remote IP address 64.40.40.6
--> pppd: ??[05][08]
--> primary DNS address 64.40.40.53
--> pppd: ??[05][08]
--> secondary DNS address 66.54.140.10
--> pppd: ??[05][08]
Caught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: ??[05][08]
--> Connect time 2.7 minutes.
--> pppd: ??[05][08]
--> pppd: ??[05][08]
--> Disconnecting at Wed Aug 16 14:14:36 2006
#7
Posted 17 August 2006 - 11:45 AM
Auto DNS is set to yes in /etc/wvdial.conf and it is not commented out.
Auto DNS = yes
Save and then redial.
Or you could try to add your ISP's dns servers to
/etc/resolv.conf
nameserver 64.40.40.53 nameserver 66.54.140.10
#8
Posted 18 August 2006 - 01:53 AM
--> Carrier detected. Waiting for prompt.
CVX Access Switch.
Access is restricted to authorized users only.
login:
--> Looks like a login prompt.
--> Sending: guest
guest
password:
--> Looks like a password prompt.
--> Sending: (password)
Can this mean that the user name and password is not set, so this is why he is getting a disconnect? Or is this set in a script?
I have not done dialup in quite a while, so tell me if I am wrong.
#9
Posted 18 August 2006 - 02:40 AM
#10
Posted 18 August 2006 - 04:06 AM
However, when I tried pon again I got a connection that allowed me to access web pages. Before breaking out the champaign I tried Synaptic to get firestarter and the modem lights component. However, Synaptic failed to connect to the repositories. I also closed Synaptic and tried 'sudo apt-get update' which failed to download anything. After a few minutes the browser connection stopped working as well. I'm about to go on a trip for the weekend so it looks like any further tweaks will need to wait until later. Cest la vi.
#11
Posted 18 August 2006 - 08:17 PM
#12
Posted 24 August 2006 - 06:34 AM
#13
Posted 24 August 2006 - 04:33 PM
System->Administration->Networking.
Select Modem connection and it's Properties.
Tick Enable Connection, enter all required information on General tab. Select Modem tab. Click Autodetect.
On Options tab, select all checkboxes. Click OK.
Try to Activate the connection...
#15
Posted 24 August 2006 - 09:40 PM
#16
Posted 25 August 2006 - 06:02 AM
US: LNQM508BEX560LKA (it repeats EX56OLKA higher up)
Below the barcode: NS2520009335
Hope it helps.
#17
Posted 25 August 2006 - 11:50 AM
Looks like you are not alone. I will have to see what chipset is in this modem. The chipset is not listed on the Actiontec webpage, but note, it has no support for Linux, according to Actiontec.
However, the Puppy Linux Wiki shows it as working, but gives no details.
Wait a minute...I looked farther down.
Is this modem connected via serial or USB?
#18
Posted 26 August 2006 - 05:03 AM
What does "adduser <user name> dip" do? Is this something I should try? I searched the man page for adduser and couldn't figure out what the 'dip' is for.
#19
Posted 26 August 2006 - 05:59 AM
Of roughly seven dial attempts with wvdial two were successful (able to load a web page). The first allowed me to go to any site for about a minute. After this I could make google searches and access a gmail account. However, any trying to access any search result would time out.
The second attempt again allowed me to travel to web pages for around a minute. However, "ping 4.2.2.2" and "dig www.google.com" both failed. After this I couldn't access any web pages.
The gateway seems to be correct (ppp0 when connnected), and the DNS addresses in /etc/ppp/resolv.conf are definitely being set by the ISP (and since it works in Windows, I guess they're valid addresses).
#20
Posted 26 August 2006 - 05:37 PM
Did you read the Ubuntu wiki page on this, located here?
Look at the section under pppconfig & pon/poff.
Read that section. You should be choosing the options listed. There should not be any other options listed for the modem connection, except those mentioned.
Also, look under the section Configuring the dialup connection to your provider.

Help










