On Fri, 09 Feb 2007, Koustubha Kale wrote:
> Koustubha Kale wrote:
> >> I have a Tata Indicom VDATA PCMCIA card for internet access when out of
> >> office.
> >> Is it possible to use this with Fedora core 6? Any pointers please.
>
> >I have used the Huawei EC321 data card on FC6.x86_64. Setting it up
> >using wvdial was a breeze. If you want, I can provide you the wvdial
> >settings that I used.
> >
> >--
> >Regards
> >Vivek J. Patankar
>
>
> I got it working with wvdial. Also got the modprobe to do it
> automagically as described in the blog. Just one problem I have a
> default gateway since I use the laptop at office too. wvdial/pppd does
> not put in a default route for the new connection. I tried the
> defaultroute option in the /etc/ppp/options and /etc/ppp/peers/wvdial
> files but no avail. Can u tell me a tric by which I can have the
> defaultroute inserted when i connect with wvdial and my office route put
> back when i disconnect?
This is what I used to do with my laptop. This was Debian, around a year
ago. Default route will use eth0 on satrtup.
# route del default
$ wvdial
This will do the job. The default route will again come up whe you reboot.
Now if you want to connect using eth0 w/o rebooting ..
# route add -net default dev eth0
regards,
Sharukh.
--
Dr. Sharukh K. R. Pavri. Homoeopath, Linuxer.
An ostrich's eye is bigger than its brain.
--
http://mm.glug-bom.org/mailman/listinfo/linuxers