Thanks to trichotillomania for the configuration settings 🙂
Well according to that blog, I should have got wvdial and configured it. Unfortunately wvstreams (on which wvdial depends) bombed out on me during the compilation :-(. Also, I didn’t use his method of modprobing everytime. I just went into the kernel configuration -> Device Drivers -> USB Support -> USB Serial Convertor Support, and ticked off USB Serial Console Device Support, USB Generic Serial Driver, and of course USB driver for GSM and CDMA modems 🙂 to be compiled into the kernel. So whenever I plug the modem in, auto-detection magic 🙂 No fuss. No scripts.
Then since wvdial didn’t work (didn’t compile) so I set off to use Gentoo’s recommended way: /etc/conf.d/net
I edited that file, put in a few settings (after reading their excellent documentation) and this is what I ended up with:
#[snippet only]
config_ppp0=("ppp")
link_ppp0="/dev/ttyUSB0"
username_ppp0='username'
password_ppp0='password'
pppd_ppp0=(
"defaultroute"
"usepeerdns"
"115200"
"modem crtscts"
# you can add more here: just look at /etc/conf.d/net.example!
)
phone_number_ppp0=("#777")
chat_ppp0=(
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'TIMEOUT' '5'
'' 'ATZ'
'OK' 'AT' # Put your modem initialization string here
'OK' 'ATDT\T'
'TIMEOUT' '60'
'CONNECT' ''
'TIMEOUT' '5'
'~--' ''
)
# ^ blatantly copied from /etc/conf.d/net.example!
Thanks to all the people that have made GNU/Linux such a smashing success! Nowadays, linux support is so great, I really wonder why people use Windows at all. And Gentoo docs are of course unparalleled and unrivalled 🙂
Thanks for the hints. I have the same problem in compiling wvdial because of wvstreams 🙂
So, I’ll try this way!
Gentoo docs where exellent back then… 2007 and so..
But then some retard turd screw everything and LOTS OF Gentoo documentation was LOST!!!
Some of it could be copied from Google, but lots of it got lost permanently.
Why did this happend? How? Goddamn!
huawei can run in any different environment.. its great 😀