WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to avoid wvdial for going into the internet with an USB GPRS modem?  (Read 1761 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
hello,
how to avoid to use wvdial?
Till now, accoring http://forum.tinycorelinux.net/index.php/topic,11509.msg61207.html#msg61207 , I use it for going into the internet with

sudo wvdial pin
sudo wvdial fonic
start the browser

For an embedded system, I would like to write a script and avoid to use wvdial.
What type of command lines should I use?

So far I remember, I already see few commands anywhere, but I am still searching.. few links or advices are welcome.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Look at the pppd man page. you should use pppd.tcz and add some config files to /etc/ppp
I miss some examples in etc/ppp for what you're doing, setting the route automaticall, or getting the DNS servers from the provider. But they are there in other distributions.

these are some links in my bookmars that I used when I last had to set such thing up. Sadly there is no single page with complete, proper documentation available, you have to dig through multiple ones for anything to work seemlessly (often examples don't enable updating of resolv.conf, default route,...)

https://ppp.samba.org/pppd
http://www.cellular.co.za/hayesat.htm
http://wiki.freitag-systemtechnik.de/index.php/UMTS_(Linux)
http://www.cottinghams.com/david/vodafone3g.shtml
http://wiki.ubuntuusers.de/UMTS_per_PCMCIA/GNOME_PPP
« Last Edit: March 27, 2013, 06:26:33 AM by hiro »