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 »

IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41


Exhibition to showcase digital artwork from across the globe
Posted 23-May-2018 16:44


Auckland tops list of most vulnerable cities in a zombie apocalypse
Posted 23-May-2018 12:52


ASB first bank in New Zealand to step out with Garmin Pay
Posted 23-May-2018 00:10


Umbrellar becomes Microsoft Cloud Solution Provider
Posted 22-May-2018 15:43


Three New Zealand projects shortlisted in IDC Asia Pacific Smart Cities Awards
Posted 22-May-2018 15:14


UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12



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.