[opensuse] Gnome PPP: Can not open Modem
![](https://seccdn.libravatar.org/avatar/2bc680d8cba1f4a65539f35c48545ce5.jpg?s=120&d=mm&r=g)
1. I've installed a dedicated driver included with a Mobile Broadband USB modem D-50 from CMOTECH CDMA Technologies on openSUSE 10.3/Gnome 2.20.0, both on a stationay i386 PC and on a x86_64 workstation. This adds a new entry crw-rw---- 1 root uucp 166, 0 2008-03-14 02:17 /dev/ttyACM0 2. Thereafter I've tried to configure the modem with YaST>Network devices> Modem: CMOTECH CDMA Technologies • Device name: modem0 • Mode: unknown • Startet manually Modem device: /dev/ttyACM0 Set phone no #xxx, userID and password External Firewall zone 3. Third, I tried to dial up with Gnome PPP (gnome-ppp-0.3.23-0.pm.2) entered username, password and phone number on the first widget "Detect" on the setup widget warned "No modem was found on your system" manually selected type: USB modem, but still only devices /dev/modem and /dev/ttySx were available on the list. Therefore I did manually try to enter /dev/ttyACM0 as device, then closed this widget and tried to "connect" from the startup widget, but it warned "cannot open modem". The "Connection Log" looks as follows: --> Ignoring malformed input line: ";Do NOT edit this file by hand!" --> WvDial: Internet dialer version 1.56 (abuild@balli) --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy I have also tried to login as root and run Gnome PPP, but no connection and the same error 4. I have however succeeded to connect as root in a terminal with this commmand: # wvdial --config wvdialice.conf where the config file "wvdialice.conf" contains [Dialer Defaults] Modem = /dev/ttyACM0 Carrier Check = no Stupid Mode= yes Phone = #xxx Username = yyyy Password = zzzz New PPPD = yes Running the same command as normal user, results in the same warning output as the Gnome PPP log file above, and no connection. Any suggestion why Gnome PPP doesn't find or can not open the modem? (neither "chmod 777 /dev/ttyACM0" does work) Cheers, Terje J. Hanssen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-03-14 at 02:29 +0100, Terje J. Hanssen wrote:
4. I have however succeeded to connect as root in a terminal with this commmand:
# wvdial --config wvdialice.conf
where the config file "wvdialice.conf" contains [Dialer Defaults] Modem = /dev/ttyACM0 Carrier Check = no Stupid Mode= yes Phone = #xxx Username = yyyy Password = zzzz New PPPD = yes
Running the same command as normal user, results in the same warning output as the Gnome PPP log file above, and no connection.
Ok, do you mean that wvdial works as root, but not as user? Then it is a questions of the permissions on the device file /dev/ttyACM0. Perhaps you will need to make wvdial suid or call it using sudo. Ah! - From my notes, in "/etc/permissions.local" I did: /usr/bin/wvdial root.dialout 4750 I think that was all I needed. No, I added my user to group dialout, too. Please copy here the exact error that a wvdial session prints. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFH2eZutTMYHG2NR9URAob/AJ0VdntL5qXHXeI/xPzZwEK9IyJVNwCdFMWU DYXYMCtE0kuo8PZKhhubuwg= =GCbb -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/2bc680d8cba1f4a65539f35c48545ce5.jpg?s=120&d=mm&r=g)
Carlos E. R. wrote:
The Friday 2008-03-14 at 02:29 +0100, Terje J. Hanssen wrote:
Running the same command as normal user, results in the same warning output as the Gnome PPP log file above, and no connection.
Ok, do you mean that wvdial works as root, but not as user? Then it is a questions of the permissions on the device file /dev/ttyACM0. Perhaps you will need to make wvdial suid or call it using sudo.
Ah!
- From my notes, in "/etc/permissions.local" I did:
/usr/bin/wvdial root.dialout 4750
Now I also added that line
I think that was all I needed. No, I added my user to group dialout, too.
My user was already added to the three groups: dialout, video, users
Please copy here the exact error that a wvdial session prints.
Did a reboot, but still this doesn't work running the dialup command as normal user: ~> wvdial --config wvdialice.conf --> WvDial: Internet dialer version 1.56 (abuild@balli) --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy ~> I can add that there also may be some bug related to the CDMA USB modem driver, because after disconnecting the modem and system restart, the /dev/ttyACM0 is disappeared and the driver has to be reinstalled (as root) and with output as follows: # ./RDEVCHG RDEVCHG Linux Version : 1.0 Please, Wait! Bus 001 Device 004: ID 16d8:680a .... Success SwitchMode. *** stack smashing detected ***: ./RDEVCHG terminated # My provider's support has told me that the Gnome PPP launcher does work with this modem on Ubuntu, and this is also my main purpose on openSUSE. Cheers, Terje -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-03-14 at 13:11 +0100, Terje J. Hanssen wrote:
Ah!
- From my notes, in "/etc/permissions.local" I did:
/usr/bin/wvdial root.dialout 4750
Now I also added that line
I forgot to mention that you need to run: SuSEconfig --module permissions to apply the change. It will run automatically every day, anyhow: if you don't edit permissions.local it would change back to the default permissions.
I think that was all I needed. No, I added my user to group dialout, too.
My user was already added to the three groups: dialout, video, users
Please copy here the exact error that a wvdial session prints.
Did a reboot, but still this doesn't work running the dialup command as normal user:
~ > wvdial --config wvdialice.conf --> WvDial: Internet dialer version 1.56 (abuild@balli) --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy --> Cannot open /dev/ttyACM0: Device or resource busy
I would try accessing the modem with minicom, but I'm unsure because of what you add later.
I can add that there also may be some bug related to the CDMA USB modem driver, because after disconnecting the modem and system restart, the /dev/ttyACM0 is disappeared and the driver has to be reinstalled (as root) and with output as follows:
Ah, not a plain modem, then, with a proprietary driver.
# ./RDEVCHG
RDEVCHG Linux Version : 1.0 Please, Wait! Bus 001 Device 004: ID 16d8:680a .... Success SwitchMode. *** stack smashing detected ***: ./RDEVCHG terminated #
I suppose you don't need reinstalling the driver, but loading the pertinent module.
My provider's support has told me that the Gnome PPP launcher does work with this modem on Ubuntu, and this is also my main purpose on openSUSE.
However, I've never used this type of modems, I don't have experience with them. Some one was asking about a similar modem not too long ago: search the archive, perhaps for the word CDMA, in the last 8 months at least. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFH2m/xtTMYHG2NR9URAu2HAJ4qfY3scCfpwVeqG+EwHUiBdNDefwCffJDx ezDzQ5wimBNtocU4UygRbik= =B+RV -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/2bc680d8cba1f4a65539f35c48545ce5.jpg?s=120&d=mm&r=g)
Carlos E. R. wrote:
The Friday 2008-03-14 at 13:11 +0100, Terje J. Hanssen wrote:
- From my notes, in "/etc/permissions.local" I did:
/usr/bin/wvdial root.dialout 4750
Now I also added that line
I forgot to mention that you need to run:
SuSEconfig --module permissions
to apply the change. It will run automatically every day, anyhow: if you don't edit permissions.local it would change back to the default permissions.
I noticed the second last line in the output, something wrong here? # SuSEconfig --module permissions Starting SuSEconfig, the SuSE Configuration Tool... Running module permissions only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/mail-server /etc/permissions.d/postfix /etc/permissions.local setting /usr/bin/wvdial to root:dialout 4750. (wrong owner/group root:root permissions 0755) Finished.
I would try accessing the modem with minicom, but I'm unsure because of what you add later.
I can add that there also may be some bug related to the CDMA USB modem driver, because after disconnecting the modem and system restart, the /dev/ttyACM0 is disappeared and the driver has to be reinstalled (as root) and with output as follows:
Ah, not a plain modem, then, with a proprietary driver.
I suppose you don't need reinstalling the driver, but loading the pertinent module.
Can you tell how to load the pertinent module?
My provider's support has told me that the Gnome PPP launcher does work with this modem on Ubuntu, and this is also my main purpose on openSUSE.
However, I've never used this type of modems, I don't have experience with them. Some one was asking about a similar modem not too long ago: search the archive, perhaps for the word CDMA, in the last 8 months at least.
The closest related post from April 2007 I found was about "PCMCIA CDMA MODEM". The closest link I've used is this is one for another CMOTECH CDMA USB modem model than my D-50. It doesn't discuss any dial up problems however: HowtTo: Install Wireless EVDO CDMA usb modem Model MM 5500SU and Broadband Internet in Suse Linux 10.0, 10.1 – tested for Bigpond Australia. http://www.swerdna.net.au/linhowtoevdoinsuse.html But the most important, now I could dialup with wvdial as a normal user. Here follows the connection output, which I felt was somewhat long and contained many messages. Does this look ok, or is here something that can be corrected somewhere? (Just to mentione, I'm also connected with a wired ADSL/Network Manager at the same time):
wvdial --config wvdialice.conf
--> WvDial: Internet dialer version 1.56 (abuild@balli) --> 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 Fri Mar 14 14:35:39 2008 --> Pid of pppd: 4971 --> Using interface ppp0 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> local IP address 91.149.52.249 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> remote IP address 10.64.64.64 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> primary DNS address 194.19.2.11 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> secondary DNS address 194.19.3.11 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> 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 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] Caught signal 2: Attempting to exit gracefully... --> Terminating on signal 15 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> Connect time 0.2 minutes. --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> Disconnecting at Fri Mar 14 14:35:56 2008 terje@dhcppc1:~/ICE_D50_modem> terje@dhcppc1:~/ICE_D50_modem> terje@dhcppc1:~/ICE_D50_modem> wvdial --config wvdialice.conf --> WvDial: Internet dialer version 1.56 (abuild@balli) --> 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 Fri Mar 14 14:36:35 2008 --> Pid of pppd: 5270 --> Using interface ppp0 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> local IP address 91.149.19.88 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> remote IP address 10.64.64.64 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> primary DNS address 194.19.2.11 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> secondary DNS address 194.19.3.11 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] --> 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 --> pppd: P�[05][08]P�[05][08]ligent PPP dialer.[0b]Optional SECTION arguments refer to sections in configuration file (usually) --> /etc [01] -------------------- Cheers, Terje -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-03-14 at 14:50 +0100, Terje J. Hanssen wrote:
I noticed the second last line in the output, something wrong here?
# SuSEconfig --module permissions Starting SuSEconfig, the SuSE Configuration Tool... Running module permissions only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/mail-server /etc/permissions.d/postfix /etc/permissions.local setting /usr/bin/wvdial to root:dialout 4750. (wrong owner/group root:root permissions 0755)
That one? No, it is normal. It finds the permissions different from what you defined, so it changes them and tells you.
Ah, not a plain modem, then, with a proprietary driver.
I suppose you don't need reinstalling the driver, but loading the pertinent module.
Can you tell how to load the pertinent module?
No, no idea, I have never used cdma. But I understand you got it working at last.
But the most important, now I could dialup with wvdial as a normal user. Here follows the connection output, which I felt was somewhat long and contained many messages. Does this look ok, or is here something that can be corrected somewhere? (Just to mentione, I'm also connected with a wired ADSL/Network Manager at the same time):
Possibly the configuration is not totally correct. Doesn't matter if you use the gnome dialer, because it overrides the default. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFH2wF/tTMYHG2NR9URAnm9AJ9+e2HjE/MdC/FLPs9yInOnDoVyYACggmkG 6Y+2mbOUvkB9NVdk62H3G3Q= =SH/J -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/2bc680d8cba1f4a65539f35c48545ce5.jpg?s=120&d=mm&r=g)
Carlos E. R. wrote:
- From my notes, in "/etc/permissions.local" I did:
/usr/bin/wvdial root.dialout 4750
Now I also added that line
I forgot to mention that you need to run:
SuSEconfig --module permissions
I would try accessing the modem with minicom, but I'm unsure because of what you add later.
But the most important, now I could dialup with wvdial as a normal user. And, BINGO; now also my setup in GNOME PPP does connect with the CMOTECH EVDO CDMA USB modem D-50 for mobil broadband. Here is the cleaner connection log from Gnome PPP:
--> Ignoring malformed input line: ";Do NOT edit this file by hand!" --> WvDial: Internet dialer version 1.56 (abuild@balli) --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATM1L3DT#777 --> Waiting for carrier. ATM1L3DT#777 CONNECT --> Carrier detected. Waiting for prompt. --> Don't know what to do! Starting pppd and hoping for the best. --> Starting pppd at Fri Mar 14 15:02:21 2008 --> Pid of pppd: 4431 --> Using interface ppp0 --> local IP address 91.149.7.xxx --> remote IP address 10.64.64.yy --> primary DNS address 194.x.y.z --> secondary DNS address 194.x.y.z --> Script /etc/ppp/ip-up run successful --> Default route Ok.
This mobil connection was done after a reboot, disconnection of my wired ADSL broadband and lastly started Gnome PPP after login. This brought in another thought; is there a way to let the Gnome Network Manager handle also the wireless USB modem connection/network as it does for my wired ADSL network? Cheers, Terje -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-03-14 at 15:22 +0100, Terje J. Hanssen wrote:
But the most important, now I could dialup with wvdial as a normal user.
Good
And, BINGO; now also my setup in GNOME PPP does connect with the CMOTECH EVDO CDMA USB modem D-50 for mobil broadband.
More good. :-)
This brought in another thought; is there a way to let the Gnome Network Manager handle also the wireless USB modem connection/network as it does for my wired ADSL network?
I don't know. I always used wvdial on a terminal. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFH2v7xtTMYHG2NR9URAvYcAJ9JQe/RKIOgb0mwGHb7uigVv4tOigCfUmop X3ouBPa5XzzRgh3vIpE4DHs= =gLUg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Terje J. Hanssen