Results 1 to 6 of 6
I use my cell phone for internet with easy tether and I have a network printer on eth 0
my web browser always tries to use eth 0 for access ...
- 05-25-2011 #1Linux Newbie
- Join Date
- Aug 2010
- Posts
- 133
making a connection default
I use my cell phone for internet with easy tether and I have a network printer on eth 0
my web browser always tries to use eth 0 for access to the internet and I have to disconnect eth0 for it to use easytether0 how can I make it use easytether0 instead so I don't have to keep disconnecting my printer to get on the internet.
I use Mint 10 and chromium for a browser
- 05-31-2011 #2
Take a look at your routing table there should be the answer to your problem. The browser doesn't know the difference in interfaces it only knows it has to get to something. It is the routing table that tells the packets which interface to use.
- 05-31-2011 #3Linux Newbie
- Join Date
- Aug 2010
- Posts
- 133
how do I find the routing table
- 05-31-2011 #4Linux Newbie
- Join Date
- Aug 2010
- Posts
- 133
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.117.0 0.0.0.0 255.255.255.0 U 1 0 0 easytether0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 easytether0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
- 05-31-2011 #5Just Joined!
- Join Date
- May 2009
- Posts
- 6
re: making a connection default
Hello,
Please add new routing table entry in your linux pc.
ip route add netowrk-id subnetmask dev easytether0
ex: ip route 78.12.45.21(ip) 0.0.0.0(for ip) dev easytether0
please check with this and let me know further help.
- 06-02-2011 #6
I am going to assume that 192.168.117.0 should be your default gw.
Replace ip of your phone> with the ip address on your phone. You can make this the default by editing /etc/sysconfig/network and replacing what is list for your GATEWAY with your phones ip address.Code:route add default gw <ip of your phone> easytether0


Reply With Quote