Connected to wifi but still no internet connection

More
26 Jan 2019 18:55 #124918 by 3D-Master
Hello,

i dont know if this is in the correct topic but i have a problem with my internet configuration.

i have a NUC pc with onboard wifi disabled and connected a wifi stick to reduce latency. i have a Mesa 7i80hd and i can control it perfectly over ethernet but i cannot connect to the internet. i can ping 8.8.8.8 but thats about it.

i heard i may have to edit something in the interfaces file (etc/network/interfaces) but i dont know what i have to add there.

so far this is what the interfaces file contains:

auto lo/niface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.1
hardware-irq-coalesce-rx-usecs 0

if anyone has an idea please let me know

thanks

Please Log in or Create an account to join the conversation.

More
26 Jan 2019 19:10 #124920 by PCW
Its likely you have a IP address overlap

I would suggest setting the real time Ethernet connection to

host: 10.10.10.1
7I80: 10.10.10.10 (IP jumpers W1 down, W2 up)

Please Log in or Create an account to join the conversation.

More
More
27 Jan 2019 19:39 #124984 by 3D-Master
okay,

i have written "nameserver 8.8.8.8" and "nameserver 8.8.4.4" in the file resolv.conf in "etc/" and this way i did get internet, but only for like 1 minute, then it was ultra slow, almost so slow i thought i had no internet at all. Also i have to edit the file everytime i reboot.

i changed the ethernet connection according to tommylight but it doesnt seem to make a change. also the network manager says: ethernet device is not managed.

however i still can connect to the mesa card with linuxcnc (probably because in the hal file i still have the ip adress 192.168.1.121).

i have the feeling my general network is kind of broken and needs a reset.
basically i have little clue what i am doing

thanks

Please Log in or Create an account to join the conversation.

More
27 Jan 2019 19:48 #124986 by PCW
Its most likely broken because you have a IP address overlap between your WIFI NAT range and the 7I80HDs port.

The way to fix this as I mentioned before is to set the 7I80HDs address to 10.10.10.10 (via the jumper) and then set the Host Ethernet address to 10.10.10.1 (This is actually fine since there _must_ be no DNS or gateway access on this port)

Please Log in or Create an account to join the conversation.

More
27 Jan 2019 20:07 #124987 by 3D-Master
okay i will try this asap

thank you

Please Log in or Create an account to join the conversation.

More
27 Jan 2019 20:58 #124989 by tommylight
You might have a TP-Link that are around for the last 2 years, came across them several times and am using one right now.
Symptoms as follows:
Connects to wifi AP easily
Works intermittently
Stops working after a few seconds ( depending on load )
Ping to local non rout-able addresses works
Ping to public addresses works for some, some do not
Unplug and plug makes it work for some time
repeat.
They are a pain to use, are VERY picky about placement so try moving it around on an USB extension cable, that is what i do when i have to use this one.

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 19:36 #128106 by 3D-Master
Now i have time again,

PCW you said:

Its likely you have a IP address overlap

I would suggest setting the real time Ethernet connection to

host: 10.10.10.1
7I80: 10.10.10.10 (IP jumpers W1 down, W2 up)


but tommylight wrote this in his thread:

- write the address as 10.10.10.2 up to 10.10.10.9 ( never 10.10.10.1 or 10.10.10.10 ), or anything from 11 to 254

(forum.linuxcnc.org/27-driver-boards/3559...t-mesa-boards#121458)

so what should i do?

btw. it is a Edup Wireless Usb stick and i mostly have 3/4 Bars Signal strength

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 20:45 #128107 by 3D-Master
so i have changed the mesa7i80 address to 10.10.10.10 and my computer to 10.10.10.1 and also i have removed and re-added my router as a wifi connection and now i can connect to the mesa board while i have internet. The only thing is after a bit of time the wifi stick seems to be really slow until i get a timeout in the browser. Then i have to pull it out and put it back in and i have internet again. Maybe get a good wifi stick (do you know a good wifi stick?)

Anyways thanks for your help guys!

Please Log in or Create an account to join the conversation.

More
08 Mar 2019 22:47 #128113 by tommylight
Did you read the part written in red in that post about setting the wired network to local only ?
I am using a Tenda wifi usb for the last 3 months, it is all good.

Please Log in or Create an account to join the conversation.

Time to create page: 0.130 seconds
Powered by Kunena Forum