terje@dhcppc3:/media/NMT_D50v2303R2/Linux> sudo ./RDEVCHG
Passord:
RDEVCHG Linux Version : 1.0
Please, Wait!
Bus 001 Device 004: ID 16d8:680a
....
Success SwitchMode.
*** stack smashing detected ***: ./RDEVCHG terminated
Avbrutt (SIGABRT)
terje@dhcppc3:/media/NMT_D50v2303R2/Linux>
dhcppc3:/dev # ls -la ttyACM*
crw-rw---- 1 root uucp 166, 0 2008-03-13 01:07 ttyACM0
terje@dhcppc3:~/ICE_D50_modem> sh execute.sh
--> D-50 Linux Connection\n
ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0
ttyS1<Info>: Device or resource busy
Modem Port Scan<*1>: S1
ttyS2<Info>: Device or resource busy
Modem Port Scan<*1>: S2
ttyS3<Info>: Device or resource busy
Modem Port Scan<*1>: S3
ttyS4<Info>: Device or resource busy
Modem Port Scan<*1>: S4
ttyS5<Info>: Device or resource busy
Modem Port Scan<*1>: S5
ttyS6<Info>: Device or resource busy
Modem Port Scan<*1>: S6
ttyS7<Info>: Device or resource busy
Modem Port Scan<*1>: S7
ttyACM0<Info>: Device or resource busy
Modem Port Scan<*1>: ACM0
--> Dialing...\n
--> WvDial: Internet dialer version 1.56 (abuild@balli)
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot open /dev/modem: Device or resource busy
--> Cannot open /dev/modem: Device or resource busy
--> Cannot open /dev/modem: Device or resource busy
terje@dhcppc3:~/ICE_D50_modem>
dhcppc3:/dev # ls -la modem
ls: cannot access modem: Ingen slik fil eller filkatalog
terje@dhcppc3:/media/NMT_D50v2303R2/Linux> cat execute.sh
echo "--> D-50 Linux Connection\n"
rm -rf D-50config wvdialconf_log
wvdialconf D-50config > wvdialconf_log
echo "Carrier Check= no\nStupid Mode= yes" >> D-50config
echo "Phone = #xxx\nUsername = UserID\nPassword = password" >> D-50config
rm -rf wvdialconf_log
echo "--> Dialing...\n"
wvdial --config D-50config
/usr/bin/wvdial --config /opt/ice/wvdialice.conf
[Dialer Defaults]
Modem = /dev/ttyACM0
Carrier Check = no
Stupid Mode= yes
Phone = #777
Username = cdma
Password = cdma
New PPPD = yes
alfa:/dev # ls -la ttyACM0
crw-rw---- 1 root uucp 166, 0 2008-03-13 11:43 ttyACM0
alfa:/dev # chmod 777 ttyACM0
alfa:/dev # ls -la ttyACM0
crwxrwxrwx 1 root uucp 166, 0 2008-03-13 11:43 ttyACM0
alfa:/dev #
terje@alfa:~/ICE_D50_USB_modem> /usr/bin/wvdial --config /home/terje/ICE_D50_USB_modem/wvdialice.conf
--> WvDial: Internet dialer version 1.56 (abuild@delius)
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy
terje@alfa:~/ICE_D50_USB_modem>
alfa:/home/terje/ICE_D50_USB_modem # /usr/bin/wvdial --config /home/terje/ICE_D50_USB_modem/wvdialice.conf
--> WvDial: Internet dialer version 1.56 (abuild@delius)
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Mar 13 11:34:25 2008
--> Pid of pppd: 6701
--> Using interface ppp0
--> local IP address 91.149.xx.xxx
--> remote IP address 10.64.xx.xx
--> primary DNS address 194.19.x.xx
--> secondary DNS address 194.19.x.xx
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> warning, can't find address for `www.suse.de`
--> warning, address lookup does not work
--> Nameserver (DNS) failure, the connection may not work.
--> Connected... Press Ctrl-C to disconnect
/usr/bin/wvdial root.dialout 4750
# SuSEconfig --module permissions
# rpm -qa |grep Network
NetworkManager-vpnc-gnome-0.5.0cvs20060202-175
NetworkManager-openvpn-gnome-0.3.2cvs20060202-173
NetworkManager-0.6.5-37.4
NetworkManager-glib-0.6.5-37.4
NetworkManager-kde-0.2r674918-55
NetworkManager-novellvpn-0.3.2-179
NetworkManager-openvpn-0.3.2cvs20060202-173
NetworkManager-vpnc-0.5.0cvs20060202-175
NetworkManager-novellvpn-gnome-0.3.2-179
NetworkManager-gnome-0.6.5-37.4
~> which nm-applet
/usr/bin/nm-applet
~> ps -el |grep nm-applet
0 S 1000 4030 2913 0 80 0 - 36118 - ? 00:00:00 nm-applet
Registrerte brukere: Google [Bot]