t-mobile mobile broadband stick VI

Na ez nem akart működni Linux alatt (SLED11SP1).
Most már működik, legalábbis nálam.

Azért a Network Manager nem találja meg, de így is működik

wvdial.conf:
[Dialer Defaults]

[Dialer pin]
Init1 = AT+CPIN=1975
Modem = /dev/ttyUSB1

[Dialer tmobile]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 =
Init4 = AT+CGDCONT=1,"IP","wnw"
Stupid Mode = 1
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB1
Modem Type = Analog Modem
Username = wnw
Password = wnw
Dial Command = ATDT
Baud = 460800
New PPPD = Yes

/etc/ppp/peers/wvdial:
#
# WvDial options
#
# Plugin passwordfd enables us to pipe the password to pppd, thus we
# don't have to put it into pap-secrets and chap-secrets.
#
plugin passwordfd.so
#
noauth
name wvdial
replacedefaultroute
usepeerdns

/etc/ppp/ip-up.d/ip-up.local.add:

#
# This sample code shows you one way to modify your setup to allow automatic
# configuration of your resolv.conf for peer supplied DNS addresses when using
# the `usepeerdns' option.
#
# In my case I just added this to my /etc/ppp/ip-up.local script. You may need to
# create an executable script if one does not exist.
#
# Nick Walker (nickwalker@email.com)
#
RESOLVCONF=/var/run/ppp_resolv.conf.$IFNAME

if [ -n "$USEPEERDNS" -a -f $RESOLVCONF ]; then
rm -f /etc/ppp/resolv.prev
if [ -f /etc/resolv.conf ]; then
cp /etc/resolv.conf /etc/ppp/resolv.prev
grep domain /etc/ppp/resolv.prev > /etc/resolv.conf
grep search /etc/ppp/resolv.prev >> /etc/resolv.conf
cat $RESOLVCONF >> /etc/resolv.conf
else
cp /etc/ppp/resolv.conf /etc
fi
fi

/etc/ppp/ip-down.d/ip-down.local.add:

#
# This sample code shows you one way to modify your setup to allow automatic
# configuration of your resolv.conf for peer supplied DNS addresses when using
# the `usepeerdns' option.
#
# In my case I just added this to my /etc/ppp/ip-down.local script. You may need to
# create an executable script if one does not exist.
#
# Nick Walker (nickwalker@email.com)
#

RESOLVCONF=/var/run/ppp_resolv.conf.$IFNAME

if [ -n "$USEPEERDNS" -a -f $RESOLVCONF ]; then
if [ -f /etc/ppp/resolv.prev ]; then
cp -f /etc/ppp/resolv.prev /etc/resolv.conf
else
rm -f /etc/resolv.conf
fi
fi