hi mate, I had to download and install eject.. it works fine, as my normal cd drive ejected.. but if I eject my dongle, nothing happens as far as dmesg is concerned I added USB-ACM (I think its called) in kernel, the was another USB modem option the "USB MODEM--->" but when I selected it, the menu screen was empty. Any ideas what I could be missing? > Date: Mon, 9 May 2011 18:40:30 +0100 > From: andy...@ashurst.eu.org > To: lfs-chat@linuxfromscratch.org > Subject: Re: T-Mobile Mobile Broadband USB stick 615 (Huawei e173) > > Hi, > > > Hi guys, > > Has anyone used a USB Mobile Broadband device with LFS? > > A quick search with google comes up with Mint and Ubuntu and using > > usb-modeswitch or something, > > and one result that went to T-Mobile said only laptops and sticks brought > > as a bundle from Carphonewharehouse > > are supported. > > > > If someone has been able to get this working, any chance of a > > guide/pointing in the right direction.. > > > > ps at the moment i am running a 6.3 I think on a sony vaio laptop, and > > about to install the latest 6.8 when i get around to it, > > if i have to i`ll use windows to download everything then boot into lfs to > > start 6.8 install > > I've got a ZTE MF100 from O2. > I've tested some of it on Debian Lenny but all the support is in the > kernel so you should have no trouble getting it working on LFS. > > When I plug it in it shows up as a SCSI CD-ROM drive. > If you immediately run 'eject /dev/sr0' (or whatever device it shows up > as) then it'll redetect as a set of USB serial ports: > /dev/ttyUSB{0,1,2,3} in my case. > > Here I copy and paste my notes on switching off the autorun functionality: > > ----- > Switching off autorun: > > + insert the device > + use dmesg to find out when the "CD-ROM" device has been detected > + Eject the "CD-ROM" device : 'eject /dev/sr0' > + use dmesg to wait until the tty devices have been detected > + /dev/ttyUSB{1,2} seem to work, {0,3} don't > + Use 'minicom -s' on /dev/ttyUSB2 to disable autorun in future: > + AT+ZCDRUN=8 > + unplug the stick > + replug the stick and use dmesg to wait until /dev/ttyUSB{0,1,2,3} > have been detected again > ----- > > > My laptop has an inbuilt Ericsson modem. > I bought the O2 modem to get the PAYG sim card to put into the Ericsson. > I've never used the ZTE MF100 to connect to The Internet. > Here's how I use minicom to get the Ericsson to connect to The Internet > (again copy and pasted from my notes). > I'm not sure if these will work for all 3G modems as they use some of > the extended command set and the CDC-Ethernet features of the Ericsson. > > S: is what I send. > R: is what the modem replies with. > > ----- > S: AT+CFUN=1 > R: OK > R: > R: *EMWI: 1,0 > R: > R: +PACSP0 > R: > R: OK > S: AT*EIAAUR=0 > R: *EIAAUR: 1,1,"o2bb","password",00111,0 > R: > S: AT+CGDCONT=1,"IP","m-bb.o2.co.uk" > R: OK > S: AT+CGDCONT? > R: +CGDCONT: 1,"IP","m-bb.o2.co.uk","0.0.0.0",0,0 > R: > R: OK > S: AT*ENAP=1,1 > ----- > > You should only need to set the AT*EIAAUR and AT_CGDCONT details once. > I note that I haven't included the AT*EIAAUR set command in my notes. Sorry. > The account details I use above are the (current) O2 UK PAYG APN details > verbatim: there are no user specific passwords or anything. > T-Mobile will have different details and you can usually find them with > your favourite search engine. > > AT+CFUN=1 switches the modem on > AT*ENAP=1,1 causes the usb modem to connect to 3G and it creates a new > ethernet device usb0. > > I can then see the ethernet device with 'ifconfig -a'. > I can get an IP address with 'dhclient usb0' > ...then I can surf the web until my battery dies. > > > > HTH > > > > Regards, > @ndy > > -- > andy...@ashurst.eu.org > http://www.ashurst.eu.org/ > 0x7EBA75FF > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-chat > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page