Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
12-18-2013, 11:36 AM
#16
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
Code:
tom@tom-Lenovo-V570:~$ echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$
tom@tom-Lenovo-V570:~$
tom@tom-Lenovo-V570:~$ ifconfig && route && ping -c 1 www.02144.com
easytether0 Link encap:Ethernet HWaddr 86:3a:a1:ca:ac:16
inet addr:192.168.117.2 Bcast:192.168.117.255 Mask:255.255.255.0
inet6 addr: fe80::843a:a1ff:feca:ac16/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6797 errors:0 dropped:0 overruns:0 frame:0
TX packets:6072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:4968587 (4.9 MB) TX bytes:1398091 (1.3 MB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:ca:68:66
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:feca:6866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14803 (14.8 KB) TX bytes:6513 (6.5 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6457 errors:0 dropped:0 overruns:0 frame:0
TX packets:6457 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:691016 (691.0 KB) TX bytes:691016 (691.0 KB)
wmx0 Link encap:Ethernet HWaddr 64:d4:da:6a:8d:39
UP NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:20
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.117.1 0.0.0.0 UG 0 0 0 easytether0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.117.0 * 255.255.255.0 U 1 0 0 easytether0
PING 02144.com (64.235.229.141) 56(84) bytes of data.
--- 02144.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
before that i tried
Code:
tom@tom-Lenovo-V570:~$ cat masq.ksh
cat: masq.ksh: No such file or directory
tom@tom-Lenovo-V570:~$ iptables --flush
iptables v1.4.18: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
tom@tom-Lenovo-V570:~$ sudo iptables --flush
[sudo] password for tom:
tom@tom-Lenovo-V570:~$ sudo iptables --flush
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --flush
tom@tom-Lenovo-V570:~$ sudo iptables --delete-chain
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --delete-chain
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --append POSTROUTING --out-interface easytether0 -j MASQUERADE
tom@tom-Lenovo-V570:~$ sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT
tom@tom-Lenovo-V570:~$ echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ipforward
bash: /proc/sys/net/ipv4/ipforward: No such file or directory
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ route add -net 192.168.0.1 netmask 255.255.255.0 gw 192.168.117.2 dev eth0
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
with errors, im lost
12-18-2013, 12:40 PM
#17
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313
the first issue i see is that you are unable to access the internet from the machine you are trying bridge internet access from:
Quote:
Originally Posted by
long1tom
Code:
...
tom@tom-Lenovo-V570:~$ ifconfig && route && ping -c 1 www.02144.com
...
PING 02144.com (64.235.229.141) 56(84) bytes of data.
--- 02144.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss , time 0ms
it would be like trying to start a car with the engine missing.
Quote:
Originally Posted by
long1tom
before that i tried
Code:
tom@tom-Lenovo-V570:~$ cat masq.ksh
cat: masq.ksh: No such file or directory
a shell script i created and saved on my pc.
Quote:
Originally Posted by
long1tom
Code:
tom@tom-Lenovo-V570:~$ iptables --flush
iptables v1.4.18: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
tom@tom-Lenovo-V570:~$ sudo iptables --flush
[sudo] password for tom:
tom@tom-Lenovo-V570:~$ sudo iptables --flush
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --flush
tom@tom-Lenovo-V570:~$ sudo iptables --delete-chain
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --delete-chain
tom@tom-Lenovo-V570:~$ sudo iptables --table nat --append POSTROUTING --out-interface easytether0 -j MASQUERADE
tom@tom-Lenovo-V570:~$ sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT
tom@tom-Lenovo-V570:~$ echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ipforward
bash: /proc/sys/net/ipv4/ipforward: No such file or directory
tom@tom-Lenovo-V570:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
this will probably work:
Code:
sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
Quote:
Originally Posted by
long1tom
tom@tom-Lenovo-V570:~$ route add -net 192.168.0.1 netmask 255.255.255.0 gw 192.168.117.2 dev eth0
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
probably needs to be run as
root ?
not sure what easythether is but does it say what the gateway address is (my guess is
192.168.117.1 )
you are missing a
sudo ifconfig eth0 ... line to setup an address for your subnetwork but guessing from your config the
-net would be
192.168.0.0 ?
Last edited by schneidz; 12-18-2013 at 01:02 PM .
12-20-2013, 02:06 PM
#18
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
using
Code:
$ sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
i now get internet connection, however am back to my original NAT type 3 issue
im not sure that it matters now but i still couldnt run the following:
Code:
tom@tom-Lenovo-V570:~$ sudo route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.117.2 dev eth0
SIOCADDRT: Network is unreachable
tom@tom-Lenovo-V570:~$ sudo route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.117.1 dev eth0
SIOCADDRT: Network is unreachable
tom@tom-Lenovo-V570:~$ sudo route add -net 192.168.0.1 netmask 255.255.255.0 gw 192.168.117.2 dev eth0
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
tom@tom-Lenovo-V570:~$ sudo route add -net 192.168.0.1 netmask 255.255.255.0 gw 192.168.117.2 dev eth0
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
Firewall is disabled so id imagine enabling and opening ports wouldnt matter
Last edited by long1tom; 12-20-2013 at 02:55 PM .
12-20-2013, 03:36 PM
#19
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313
not sure what nat type 3 is but maybe your isp is filtering certain packets based on port (i think you are using your fone rite ?). also why are you going thru your pc -- is it possible to connect your ps3 to the fone using the wifi tether ?
not really able to troubleshoot without knowing info such as the below:
Code:
echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip-forward && cat /proc/sys/net/ipv4/ip_forward && echo ping && ping -c 1 www.02144.com && echo iptables && sudo iptables --list
Last edited by schneidz; 12-20-2013 at 03:39 PM .
12-20-2013, 03:57 PM
#20
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
12-23-2013, 03:07 PM
#21
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
i have heard wifi tethering is monitered more strictly, im using my phone which isnt illegal but the phone carrier can still cut off my network or end my contract
im not sure if theres a way to avoid charges and everything through wifi tether
Last edited by long1tom; 12-23-2013 at 04:07 PM .
12-23-2013, 03:59 PM
#22
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
Code:
echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip-forward && cat /proc/sys/net/ipv4/ip_forward && echo ping && ping -c 1 www.02144.com && echo iptables && sudo iptables --list
ifconfig:
easytether0 Link encap:Ethernet HWaddr 46:6a:fe:90:09:2a
inet addr:192.168.117.2 Bcast:192.168.117.255 Mask:255.255.255.0
inet6 addr: fe80::446a:feff:fe90:92a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53417 errors:0 dropped:0 overruns:0 frame:0
TX packets:39085 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:58534489 (58.5 MB) TX bytes:6276071 (6.2 MB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:ca:68:66
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:feca:6866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:210 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20115 (20.1 KB) TX bytes:13480 (13.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1619 errors:0 dropped:0 overruns:0 frame:0
TX packets:1619 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:194394 (194.3 KB) TX bytes:194394 (194.3 KB)
wmx0 Link encap:Ethernet HWaddr 64:d4:da:6a:8d:39
UP NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:20
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ifconfig -a:
easytether0 Link encap:Ethernet HWaddr 46:6a:fe:90:09:2a
inet addr:192.168.117.2 Bcast:192.168.117.255 Mask:255.255.255.0
inet6 addr: fe80::446a:feff:fe90:92a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53417 errors:0 dropped:0 overruns:0 frame:0
TX packets:39085 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:58534489 (58.5 MB) TX bytes:6276071 (6.2 MB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:ca:68:66
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:feca:6866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:210 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20115 (20.1 KB) TX bytes:13480 (13.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1619 errors:0 dropped:0 overruns:0 frame:0
TX packets:1619 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:194394 (194.3 KB) TX bytes:194394 (194.3 KB)
wlan0 Link encap:Ethernet HWaddr 40:25:c2:ac:10:c0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wmx0 Link encap:Ethernet HWaddr 64:d4:da:6a:8d:39
UP NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:20
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
iwconfig:
wmx0 no wireless extensions.
easytether0 no wireless extensions.
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.117.1 0.0.0.0 UG 0 0 0 easytether0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.117.0 0.0.0.0 255.255.255.0 U 1 0 0 easytether0
ip-forward
0
ping
PING 02144.com (64.235.229.141) 56(84) bytes of data.
--- 02144.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
and somehow im recieving DNS error again..................................................................
12-23-2013, 09:57 PM
#23
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313
Quote:
Originally Posted by
long1tom
i have heard wifi tethering is monitered more strictly, im using my phone which isnt illegal but the phone carrier can still cut off my network or end my contract
im not sure if theres a way to avoid charges and everything through wifi tether
Either way, if your using your fone as an isp then data rates will apply.
12-23-2013, 10:21 PM
#24
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313
The name server seems wrong in /etc/resolve.conf
/proc/sys/net/ipv4/ip_forward still has a value of 0
Your still not able to ping out
fyi: you didn't list your iptables rules.
Last edited by schneidz; 12-23-2013 at 11:48 PM .
12-26-2013, 01:14 PM
#25
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
i have unlimited data so that aspect has no consequences
12-26-2013, 04:02 PM
#26
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
i fixed
/etc/resolve.conf
Code:
Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 208.67.222.222
nameserver 208.67.220.220
*(i am back to internet connection by undoing actions)
now im at:
Code:
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Code:
echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip-forward && cat /proc/sys/net/ipv4/ip_forward && echo ping && ping -c 1 www.02144.com && echo iptables && sudo iptables --list
ifconfig:
easytether0 Link encap:Ethernet HWaddr 46:d2:20:6f:fa:9a
inet addr:192.168.117.2 Bcast:192.168.117.255 Mask:255.255.255.0
inet6 addr: fe80::44d2:20ff:fe6f:fa9a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2522 errors:0 dropped:0 overruns:0 frame:0
TX packets:2322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1939768 (1.9 MB) TX bytes:535333 (535.3 KB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:ca:68:66
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:feca:6866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:219 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52654 (52.6 KB) TX bytes:67820 (67.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19638 (19.6 KB) TX bytes:19638 (19.6 KB)
wlan0 Link encap:Ethernet HWaddr 40:25:c2:ac:10:c0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wmx0 Link encap:Ethernet HWaddr 64:d4:da:6a:8d:39
UP NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:20
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ifconfig -a:
easytether0 Link encap:Ethernet HWaddr 46:d2:20:6f:fa:9a
inet addr:192.168.117.2 Bcast:192.168.117.255 Mask:255.255.255.0
inet6 addr: fe80::44d2:20ff:fe6f:fa9a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2522 errors:0 dropped:0 overruns:0 frame:0
TX packets:2322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1939768 (1.9 MB) TX bytes:535333 (535.3 KB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:ca:68:66
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:feca:6866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:219 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52654 (52.6 KB) TX bytes:67820 (67.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19638 (19.6 KB) TX bytes:19638 (19.6 KB)
wlan0 Link encap:Ethernet HWaddr 40:25:c2:ac:10:c0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wmx0 Link encap:Ethernet HWaddr 64:d4:da:6a:8d:39
UP NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:20
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
iwconfig:
wmx0 no wireless extensions.
easytether0 no wireless extensions.
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 208.67.222.222
nameserver 208.67.220.220
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.117.1 0.0.0.0 UG 0 0 0 easytether0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.117.0 0.0.0.0 255.255.255.0 U 1 0 0 easytether0
ip-forward
1
ping
PING 02144.com (64.235.229.141) 56(84) bytes of data.
--- 02144.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
*(masquerading seems to mess up my playstation network connection as well as enabling media servers on the PS3)
i am recieving NAT type 3 which is strict and doesnt allow online gaming
Also am recieving the error "The router in use may not support IP fragments" on the PS3
12-26-2013, 04:04 PM
#27
LQ Newbie
Registered: Dec 2013
Posts: 15
Original Poster
Rep:
Code:
interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
preferred dns servers 208.67.222.222 208.67.220.220
iface br0 inet dhcp
bridge_ports all
is my /etc/network/interfaces
All times are GMT -5. The time now is 09:46 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News