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?
____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
On 2/9/07, Koustubha Kale koustubha_kale@yahoo.com 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.
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?
a simple way could be through a shell script, which takes down the office route, runs wvdial & sets it back when you kill it..
on another note..is there any tool for logging ppp traffic volume?.. since its importatnt to keep a track of how much data transfered, to keep within limits, i know kppp does that.
Karunakar
Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
On 2/9/07, G Karunakar indlinux@gmail.com wrote:
on another note..is there any tool for logging ppp traffic volume?.. since its importatnt to keep a track of how much data transfered, to keep within limits, i know kppp does that.
GKrellm shows me the traffic graph of the ppp0 interface whenever connected. It also has a feature to log the traffic and one gets daily, weekly and monthly reports.
Sometime on Friday 09 February 2007 18:58, G Karunakar said:
on another note..is there any tool for logging ppp traffic volume?.. since its importatnt to keep a track of how much data transfered, to keep within limits, i know kppp does that.
Use "vnstat". Once installed, you need to generate the interface's database once by using "vnstat -u -i ppp0". And it will keep monitoring the data usage till you reset the statistics(at the end of month perhaps)
sample output would be like: ------------------------------ $ sudo vnstat rx / tx / total / estimated eth0: yesterday 1829 MB / 1174 MB / 3004 MB today 3249 MB / 3132 MB / 6381 MB / 7893 MB
ppp0: yesterday 231.99 MB / 132.73 MB / 364.73 MB today 1022 MB / 909.41 MB / 1932 MB / 2388 MB ------------------------------
Anurag
On 2/9/07, Anurag wrote:
Sometime on Friday 09 February 2007 18:58, G Karunakar said:
on another note..is there any tool for logging ppp traffic volume?.. since its importatnt to keep a track of how much data transfered, to keep within limits, i know kppp does that.
Use "vnstat". Once installed, you need to generate the interface's database once by using "vnstat -u -i ppp0". And it will keep monitoring the data usage till you reset the statistics(at the end of month perhaps)
sample output would be like:
$ sudo vnstat rx / tx / total / estimated eth0: yesterday 1829 MB / 1174 MB / 3004 MB today 3249 MB / 3132 MB / 6381 MB / 7893 MB
ppp0: yesterday 231.99 MB / 132.73 MB / 364.73 MB today 1022 MB / 909.41 MB / 1932 MB / 2388 MB
who keeps are regular log of the traffic, if this is not running as a daemon?
Karunakar
Koustubha Kale wrote:
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?
After you are logged in give the command 'route add default ppp0' as root or sudo, from a second terminal assuming that your wvdial is ppp0. At office, continue to use it as before.
Regards,
Rony.
___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html
On 2/9/07, Koustubha Kale koustubha_kale@yahoo.com wrote:
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?
I usually ifdown my network interface before firing up the dialup connection.
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.
On Fri, 2007-02-09 at 21:57 +0530, Dr. Sharukh K. R. Pavri. wrote:
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.
I have tried the USB card of Reliance and it got detected straight away with wvdial and is working fine. The wvdial.conf file that is working for me is :
[Dialer Defaults] Modem = /dev/ttyUSB0 Baud = 230400 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dial Command = ATDT Phone = #777 Username = YOUR PHONE NUMBER Password = YOUR PHONE NUMBER Stupid Mode = 1 #Add this lines in /etc/resolv.conf = #nameserver 202.138.103.100 = #nameserver 202.138.96.2 = #nameserver 202.138.103.100 = ISDN = 0 Modem Type = Analog Modem
On 04-Mar-07, at 10:53 PM, Sudhir Gandotra wrote:
On Fri, 2007-02-09 at 21:57 +0530, Dr. Sharukh K. R. Pavri. wrote:
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.
I have tried the USB card of Reliance and it got detected straight away with wvdial and is working fine. The wvdial.conf file that is working for me is :
[Dialer Defaults] Modem = /dev/ttyUSB0 Baud = 230400 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dial Command = ATDT Phone = #777 Username = YOUR PHONE NUMBER Password = YOUR PHONE NUMBER Stupid Mode = 1 #Add this lines in /etc/resolv.conf = #nameserver 202.138.103.100 = #nameserver 202.138.96.2 = #nameserver 202.138.103.100 = ISDN = 0 Modem Type = Analog Modem
-- Peace, Force & Joy! Sudhir Gandotra. +91-98101-20918 / +91-93124-65666
OpenLX Linux OS,
btw, did you find time to provide the source code?