You are not logged in.

#1 2008-12-16 10:50:12

b4d
Member
From: Slovenia
Registered: 2008-07-06
Posts: 62
Website

[solved]Nokia 7900 as modem not working

Hi, few years ago, on ubuntu i configured Motorola v3xx for use with wvdial via next /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyACM0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATZ
Init2 = 
Init3 = at+cgdcont=1,"IP","internet"
Init4 = 
Init5 = 
Init6 = 
Init7 = 
Init8 = 
Init9 = 
Phone = *99#
Phone1 = 
Phone2 = 
Phone3 = 
Phone4 = 
Dial Prefix = 
Dial Attempts = 1
Dial Command = ATM1L3DP
Ask Password = off
Password = internet
Username = mobitel
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = off
Idle Seconds = 0
Auto DNS = on
;Minimize = off
;Dock = off
;Do NOT edit this file by hand!

Now i switched the phone and trying to achieve the same on arch, the connection get's trough:

wvdial ; cat /var/log/messages.log | grep pppd | grep Sent | tail -n 1 >> /data/code/python/gprs/traffic.dat
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: at+cgdcont=1,"IP","internet"
at+cgdcont=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATM1L3DP*99#
--> Waiting for carrier.
ATM1L3DP*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected.  Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Tue Dec 16 11:41:20 2008
--> Pid of pppd: 17230
--> Using interface ppp0
--> local  IP address 10.203.30.115
--> remote IP address 10.6.6.6
--> primary   DNS address 213.229.249.161
--> secondary DNS address 193.189.160.13

but I cannot access internet

output of ifconfig (eth0 is wired connection currently):

eth0      Link encap:Ethernet  HWaddr 00:1C:23:94:93:85  
          inet addr:192.168.1.113  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:23ff:fe94:9385/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13392044 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13009772 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2848145967 (2716.2 Mb)  TX bytes:2883455920 (2749.8 Mb)
          Interrupt:17 

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:1568590 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1568590 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:168895651 (161.0 Mb)  TX bytes:168895651 (161.0 Mb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.203.30.115  P-t-P:10.6.6.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:74 (74.0 b)  TX bytes:107 (107.0 b)

what could I do to make it behave as a modem?
Thanks in advance

Last edited by b4d (2008-12-16 11:31:38)

Offline

#2 2008-12-16 10:58:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved]Nokia 7900 as modem not working

Does "cannot access internet" mean no access to domain names e.g. can't open google.com, or no access to network e.g. can't ping 74.125.45.100?
If you can ping, but you can't resolve domains, edit your /etc/resolv.conf as required. If you can't ping, check your routing table after connecting.

Offline

#3 2008-12-16 11:31:05

b4d
Member
From: Slovenia
Registered: 2008-07-06
Posts: 62
Website

Re: [solved]Nokia 7900 as modem not working

tomk: thanks for reminding me, guess all of the routers around made me stupid a little bit smile

Offline

Board footer

Powered by FluxBB