I want to connect to the internet via a dialup modem which is a US Robotics v92 USB modem which worked with F15, and works with Windows. The computer is a new ASUS desktop CM6870 with i7-3770 @ 3.40 GHz 64 bit system. I think wvdial is working but Firefox, Kmail, and Thunderbird fail to connect to server, or report no host. I am not computer literate, but here is what I did.
Using wvdialconf, then system-config-network, and finally Vim to remove duplicate lines, wvdial.conf reads:
[root@localhost gen]# cat /etc/wvdial.conf
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Phone = 1234567890
ISDN = 0
Username = myname
Init1 = ATZ
Ask Password = true
Modem = /dev/ttyACM0
Baud = 460800
[Dialer Default]
Stupid Mode = 0
Inherits = *
[root@localhost gen]#
I get the following response from wvdial (where -> is not reproduced):
WvDail: Internet dialer version 1.61
Warning: inherited section[*] does not exist in wvdial.conf
Cannot get information for serial port.
Initializing modem.
Sending: ATZ
OK
Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
Modem initialized.
Please enter password (or empty password to stop):
(I entered my password)
Sending: ATDT1234567890
Waiting for carrier.
ATDT1234567890
CONNECT 31200/ARQ/V34/LAPM/V42BIS
Carrier detected. Waiting for prompt.
Welcome to 3Com Total Control HiPer ARC (TM)
Networks That Go The Distance (TM)
login:
Looks like a login prompt.
Sending: myname
myname
Password:
Looks like a password prompt.
Sending: (password)
-[7f]}#@!}!}!} }?}!}$}%j}"}&[7f][7f][7f][7f]}%}&Q”hV}'}"}(}"}1}$}%j}3}#} o[7f]~
PPP negotiation detected.
Starting pppd at Sun Nov 4 10:07:38 2012
Pid of pppd: 2115
Using interface ppp0
local IP address 209.222.232.189
remote IP address 209.222.229.227
primary DNS address 24.226.147.200
secondary DNS address 24.226.147.201
Control C was entered resulting in:
Caught signal2: Attempting to exit gracefully…
Terminating on signal 15
Connect time 1.8 minutes.
Disconnecting at Sun Nov 4 10:09:30 2012
[root@localhost gen]
(The pppd: 6 lines occurred but were not reproduced herein.)
I reconnected with wvdial and leaving the terminal open, I switched to GUI and called Firefox resulting in “Server not found” error. Similarly with Kmail, when I 'Auto Detect' in the POP3 Account Settings-Advanced I get “Unable to connect to the server, please verify the server address.” The address was used successfully in F15. and while Thunderbird responded with “Host not found”. Thunderbird also “Failed to connect to server.” The GUI Network Connections-System Settings—Wired shows “System p4p1 as never used. Within that (Edit Network Connection-System Settings) “Connection name: 'System p4p1' is set to connect automatically'” followed by 'Basic settings' and “Method: 'Automatic (DHCP)'”. The box “IPv4 is required for this connection” is checked.
The Firewall is set for “Desktop”. (i.e. Ipsec, Multicast DNS (mDNS), Network printing Client (IPP) and Samba Client.)
I returned to a terminal.
The chap-secrets and the pap-secrets files are the same in content:
[root@localhost ppp]# cat chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
####### system-config-network will overwrite this part!!! (begin) ##########
"myname" "MyRobo" "mypassword"
"myname" * "mypassword"
####### system-config-network will overwrite this part!!! (end) ############
myname 0 mypassword
[root@localhost ppp]#
Some reading suggested and I tried /sbin/route –n , and the resulting kernel IP routing table was:
Kernal IP routing table
Destination Gateway Genmask Flags Metr Ref Us Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
209.222.229.227 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
[root@localhost ppp]#
When I “cat /etc/resolv.conf” I got a blank line followed by the terminal prompt. The file is empty.
I tried:
[root@localhost gen]# ping
www.ubishops.ca
ping: unknown host
www.ubishops.ca
A similar response occurred for whatever address I used.
Also after closing and reconnecting with wvdial:
[gen@localhost ~]$ uname -r
3.3.4-5.fc17.x86_64
Also:
[root@localhost gen]# ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 104 bytes 6984 (6.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 104 bytes 6984 (6.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p4p1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 10:bf:48:4e:28:20 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 43 base 0x4000
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 209.222.232.167 netmask 255.255.255.255 destination 209.222.229.227
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 5 bytes 82 (82.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 95 (95.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 74:e5:43:19:99:11 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost gen]#
I disconnected in wvdial.
The /etc/sysconfig/networking/profiles/default/ifcfg-p4p1 is:
UUID="397a72af-16b0-4d09-b9c6-8c43348b26fd"
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEVICE=p4p1
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME="System p4p1"
HWADDR=10:BF:48:4E:28:20
PEERDNS=yes
PEERROUTES=yes
USERS=gen
I noticed “Type = Ethernet”, such that if my modem is using this file, there is an inconsistency.
The /etc/sysconfig/networking/profiles/default/ifcfg-MyRobo (my robotics modem) is:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DEVICE=/dev/ttyACM0
BOOTPROTO=dhcp
TYPE=Modem
AC=off
BSDCOMP=off
VJCCOMP=off
CCP=off
PC=off
VJ=off
PEERDNS=no
IDLETIMEOUT=600
DEFROUTE=no
PERSIST=no
PPPOPTIONS=
PAPNAME=myname
WVDIALSECT=Default
DEMAND=no
I of course would like a magic quick fix (or winning the local lottery), but failing that, where are some other places to look and what should I find there?
Thanks for reading so far.