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 »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



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.