Moi!
Minulla olisi seuraavanlainen ongelma ja apuja tarvitaan. Huawein nettitikku toimii ainoastaan sudoa tai gksudoa käytettäessä.
Käytössäni on ubuntu 8.10 studio i386 ja Huawein E169 nettitikku elisan liittymällä. Olen lisännyt seuraavat rivit tiedostoon /etc/wvdial.conf:
[Dialer defaults]
Modem = /dev/ttyUSB0
Init = AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
Phone = *99***1#
Stupid Mode = 1
Username = "rlnet"
Password = "internet"
lisäksi olen asentanut tuolta
http://www.draisberghof.de/usb_modeswitchseuraavan ohjelman
gksudo dpkg -i /home/mappe/paketit/huaweie169modem/usb-modeswitch_0.9.5_i386.deb
uudelleenkäynnistyksen jälkeen (en tiedä oliko tarpeellista) koitin yhdistää nettiin komennolla wvdial ja sain seuraavan laisen virheilmoituksen:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately
--> Starting pppd at Tue Dec 9 23:24:35 2008
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Pid of pppd: 5980
--> Disconnecting at Tue Dec 9 23:24:36 2008
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
annoin varmuuden vuoksi täydet oikeudet /etc/ppd/pap-secrets
gksudo chown 777 /etc/ppd/pap-secrets
yritin yhdistää uudestaan
wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Dec 12 12:41:50 2008
--> Pid of pppd: 5918
--> Disconnecting at Fri Dec 12 12:41:50 2008
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
kun kännistän wvdialin komennolla
gksudo wvdial nettitikku toimii ja saan ilmoituksen:
--> WvDial: Internet dialer version 1.60--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Dec 12 12:46:16 2008
--> Pid of pppd: 6580
--> Using interface ppp0
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> pppd: ��� ��� ب�
--> local IP address 80.186.227.130
--> pppd: ��� ��� ب�
--> remote IP address 10.64.64.64
--> pppd: ��� ��� ب�
--> primary DNS address 193.229.0.40
--> pppd: ��� ��� ب�
--> secondary DNS address 193.229.0.42
--> pppd: ��� ��� ب�
Olisin kiitollinen neuvoista miten voisin saada tikun toimimaan ilman rootin oikeuksia.