Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


pdc



22 posts

Geek


Topic # 54050 15-Dec-2009 20:50
Send private message

1) when I insert the modem, I get a modem icon on the desktop
2) right-click this, and select "Eject" from the menu
3) this switches the modem from being seen as CD-ROM to being seen as modem
(as shown by following the action on a terminal using the lsusb command)


I could not configure this off the Mandriva control centre so used wvdial:


from a terminal, logged in as root, load the text editor programme gedit that gnome uses



4) # gedit /etc/wvdial.conf


and pasted 



[Dialer Defaults]
Modem = /dev/ttyUSB2
Modem Type = Analog Modem
ISDN = 0
Baud = 460800
Dial Attempts = 1
Username = user
Password = pass
Init1 = ATZ
Init2 = AT&F &D2 &C1
Init3 = ATS7=60 S30=0 S0=0
Init4 = AT+CGDCONT=1,"IP","wap.telecom.co.nz"
Phone = *99#
Stupid Mode = 1


save and exit 

in terminal, logged in as root

5) # wvdial




and I am logged on in about 1-2secs

 

wvdial is turned off by control-c




doubtless one can simplify some of this but at least it works ...........

 

Mandriva uses the 2.6.31.5 kernel I understand









Create new topic

pdc



22 posts

Geek


  Reply # 284146 20-Dec-2009 10:06
Send private message

I should add I believe that a user needs to be a member of the dialout and uucp groups in mandriva; (and probably other distros too);

as described here:

To fix the not member of dialout and uucp error, enter MCC (mandriva control centre) > System > Manage users on system, double-click on your user name, then click on Groups and check the boxes for dialout and uucp, then click on Ok.

http://forum.mandriva.com/viewtopic.php?t=112889

pdc



22 posts

Geek


  Reply # 290552 16-Jan-2010 16:41
Send private message

to simplify the usage of the Telecom XT ZTE MF636 stick on linux, 


one can get the system to automatically "flip" the modem when you insert it, so it is not seen as a storage device, but seen as a modem



from this post 

http://ubuntuforums.org/showpost.php?p=7624549&postcount=61 

I loaded gedit (as I use gnome for Mandriva) 





Quote:


gksu gedit /etc/udev/rules.d/zte_eject.rules






and then pasted in the following 

SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule" 

and saved and close; 

one identifies the modem's Vendor ID and Product ID from the command 


lsusb 


now instead of needing to select the icon on the desktop; right-clicking and selecting "eject", this is done automatically and the device is seen as a modem; (whereas initially it is seen as a CD-ROM device

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33


Vocus NZ sale and broadband competition
Posted 6-Nov-2017 14:36


Hawaiki reaches key milestone in landmark deep-sea fibre project
Posted 4-Nov-2017 13:53


Countdown launches new proximity online shopping app
Posted 4-Nov-2017 13:50


Nokia 3310 to be available through Spark New Zealand
Posted 4-Nov-2017 13:31



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.