Thursday, August 02, 2007

Monkeyboys iZune!

Fantastic Advertisement!




yk

3 lewsers:

Cristian said...

Hi, I wonder if you can help. I am trying to use wvdial to connect to my 3G phone. The phone is paired, the connection light is on etc and the wvdial file appears to show the modem working (see below). I have wireless active so I go and disable this in the networking preferences and then I try and open up an internet browser and nothing happens. I can't ping or surf or do anything..what am I missing here?

Any help would be appreciated.

wvdial MDA
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATS0=0
OK
--> Sending: AT
OK
--> Sending: ATE0V1&D2
OK
--> Sending: ATS7=60L1M1X3
OK
--> Sending: at+cgdcont=1,"IP","general.t-mobile.uk"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Aug 2 16:52:38 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 22298
--> Using interface ppp0
--> pppd: � [06][08]� [06][08] [06][08]
--> pppd: � [06][08]� [06][08] [06][08]
--> pppd: � [06][08]� [06][08] [06][08]
--> pppd: � [06][08]� [06][08] [06][08]
--> pppd: � [06][08]� [06][08] [06][08]
--> local IP address 10.36.253.122
--> pppd: � [06][08]� [06][08] [06][08]
--> remote IP address 10.64.64.64
--> pppd: � [06][08]� [06][08] [06][08]
--> primary DNS address 149.254.201.126
--> pppd: � [06][08]� [06][08] [06][08]
--> secondary DNS address 149.254.192.126
--> pppd: � [06][08]� [06][08] [06][08]

Yoon Kit said...

Hi Cristian,

I believe you meant to comment to this post:

http://yoonkit.blogspot.com/2007/05/ubuntu-dialup-via-bluetooth.html

The first thing Id suspect are those warnings which you got:

/etc/ppp/pap-secrets: Permission denied
/etc/ppp/chap-secrets: Permission denied

However Id also notice that you did get assigned a proper IP address.

So the next thing I would check would be the route tables. Try this:

# route

What may have happened is that when you disabled the wireless, it might have clobbered the routing tables as assigned by wvwave. So maybe either try to dialup AFTER disabling wifi, or adding a default route via the assigned IP addresses.

For your case, it would be something like:

route -add -net default gw 10.64.64.64

That may work? Good luck.

yk.

Cristian said...

Thanks for this. Helped me to work out that it was the firewall blocking everything! Now i need to work out how to add the ppp0 interface (not detected by firestarter).

Thanks again. Sorry for posting here but I thought your post about the modem was so old you wouldn't pick up the comment.