You are not logged in.
Hey guys,
I'm currently using wvdial and a profile for that to bring up my 3G connection.
/etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
[Dialer three]
Phone = *99***1#
Username = three.ie
Password = three.ie
Stupid Mode = 1
Dial Command = ATDT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","3internet"
Auto DNS = off
Check DNS = offHow do I make use of netcfg2's PPP capabilities? I see it looks in /etc/ppp/peers/ for a config file there... I tried putting in PEER="wvdial" (there's such a file there) but that didn't work at all.
Any suggestions?
Offline
did you find a solution to your problem? I would like to accomplish the same thing, but don't really know how to get there. wvdial is the first thnig I'll dig into.
Offline
To use netcfg's ppp abilities, you can't use vwdial. You use pppd directly, by writing a peers file and a chat script. I've set up using my phone as a bluetooth modem, but I haven't actually tried yet if it works. But anyway, based on my knowledge this could work:
/etc/ppp/peers/three
connect "/usr/sbin/chat -f /etc/ppp/three.chat"
/dev/ttyUSB0
460800
crtscts
defaultroute
usepeerdns
noauth
novj
novjccomp
nobsdcomp
nopcomp
noaccomp
user three.ie
password three.ie/etc/ppp/three.chat
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
OK 'AT+CGDCONT=1,"IP","3internet"'
OK ATD*99***1#
CONNECT ""/etc/network.d/three
CONNECTION="ppp"
PEER="three"What I *do* know that works is setting up pppoe. It's very similar, the peers file has a few different options in it and there's no chat script, but otherwise same principle.
Offline
Thank you Gusar! And thank you Fackamato for starting this thread. I had my verizon 3g working under wvdial. I had to chage that settings in Gusar's ppp suggestion that came straight out of Fackamato's wvdial, obviously. The only other thing that I need to change was to add the line:
INTERFACE="ignore"to /etc/network.d/{conection_name}
Offline