Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

[SOLVE]DTHOMSON TG789vn and Raspberry Pi

Mon Jul 20, 2015 8:45 pm

Hello! I can connect to my cell phones wi-fi and get access to the internet, but when I connect to my router, it won't let me out on the net. It says that it's connected but it won't download updates or get on google. When I checked my router it says that the raspberry pi is "inactive".

I have very little knowledge of networks, though, I really want to learn more, but I feel a bit "stupid" posting these threads. I haven't seen any posts about the Thomson router here.
Last edited by Funkigamoses on Wed Jul 22, 2015 4:20 pm, edited 1 time in total.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 12:01 am

It would help if we didn't have to guess so much!

For a start, are you trying to connect your RPi to your router by WiFi or wired ethernet?

Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 6:53 am

I am trying to connect through wireless.


Here is some more info from my pi:

inet addr 169.254.223.162

Bcast 169.254.255.255

mask 255.255.0.0

gateway: 0.0.0.0

destination 169.254.0.0

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 1:09 pm

169.254.xxx.xxx/16 is a special address range known as the link-local, it's not routable.

Change your settings to use DHCP and see what address range your router assigns, I can guarantee it won't be 169.254.xxx.xxx/16. It'll probably be 192.168.xxx.xxx/24 or 172.[16-31].xxx.xxx/16 or 10.xxx.xxx.xxx/8.

You could look at your laptop and see what address has been assigned to it.

Do not assign a static address from the DHCP address block that your router uses, it could cause trouble later.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 2:19 pm

I wasn't expecting much progress on this problem before viewtopic.php?p=791682#p791682 is sorted. :)

Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 8:48 pm

Alright, I found my router gives my pi the adress 192.168.1.86. Should i do the sudo nano /etc/network/interface and give the wlan0 the static setting?

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 9:07 pm

Funkigamoses wrote:Alright, I found my router gives my pi the adress 192.168.1.86. Should i do the sudo nano /etc/network/interface and give the wlan0 the static setting?
Not sure what you mean? Do you mean the router gives your RPi that address if you connect with ethernet cable?

If you mean the router gives the RPi that address when not connected by ethernet, then it is connected OK by WiFi and you should have nothing more to do.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: THOMSON TG789vn and Raspberry Pi

Tue Jul 21, 2015 9:09 pm

You need to look at the DHCP pool of addresses used by your router.

If the pool is 192.168.1.1 to 192.168.1.100 then pick a static address from 192.168.1.101 to 192.168.1.254 (outside the pool).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 10:40 am

Ok

Now I have:

iface wlan0 inet static
adress 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1


It still does not work...

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 11:10 am

Funkigamoses wrote:Ok

Now I have:

iface wlan0 inet static
adress 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1


It still does not work...
Unless you have changed it (and I doubt you know how to) the default IP address of your Thomson router is 192.168.1.254. So giving that same address to your RPi will never work properly.

There is no good reason for you to be giving your RPi a static IP address. DHCP works just fine and is pefectably suitable. When you have more experience with networking you can think about using static.

However if you insist on using static now use 192.168.1.254 for the gateway. The router manual does not seem to say what the DHCP pool range is. Try 192.168.1.63 as a static IP for your RPi.

Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 12:04 pm

drgeoff wrote:
Funkigamoses wrote:Ok

Now I have:

iface wlan0 inet static
adress 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1


It still does not work...
Unless you have changed it (and I doubt you know how to) the default IP address of your Thomson router is 192.168.1.254. So giving that same address to your RPi will never work properly.

There is no good reason for you to be giving your RPi a static IP address. DHCP works just fine and is pefectably suitable. When you have more experience with networking you can think about using static.

However if you insist on using static now use 192.168.1.254 for the gateway. The router manual does not seem to say what the DHCP pool range is. Try 192.168.1.63 as a static IP for your RPi.
Well, my router have assigned a static ip adress for my pi, and that is a problem. Should I assign the adress my router have chosen to be the static adress of my pi?

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 12:16 pm

Funkigamoses wrote:Ok

Now I have:

iface wlan0 inet static
adress 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1


It still does not work...
Is that a copy/paste error, or have you really put "adress"?

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 12:26 pm

Funkigamoses wrote:
drgeoff wrote:
Funkigamoses wrote:Ok

Now I have:

iface wlan0 inet static
adress 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1


It still does not work...
Unless you have changed it (and I doubt you know how to) the default IP address of your Thomson router is 192.168.1.254. So giving that same address to your RPi will never work properly.

There is no good reason for you to be giving your RPi a static IP address. DHCP works just fine and is pefectably suitable. When you have more experience with networking you can think about using static.

However if you insist on using static now use 192.168.1.254 for the gateway. The router manual does not seem to say what the DHCP pool range is. Try 192.168.1.63 as a static IP for your RPi.
Well, my router have assigned a static ip adress for my pi, and that is a problem. Should I assign the adress my router have chosen to be the static adress of my pi?
A router will NEVER assign a static IP address to your RPi or any other device. A router only assigns DHCP addresses and ONLY when the device (your RPi) asks it to. A static IP address is ALWAYS assigned by setting it on the device.

If the router has assigned an address it is not static and it is from the router's pool. You should never use an address from a DHCP pool as a static address.

So where is the 86 address coming from? If you have not set that on the RPi and the RPi's only connection is WiFi then the 86 address is a DHCP address from the router by WiFI and your RPi is connected.

Funkigamoses
Posts: 14
Joined: Sat Jul 20, 2013 11:55 am

Re: THOMSON TG789vn and Raspberry Pi

Wed Jul 22, 2015 4:19 pm

Solved it! I entered dhcp in the network/interfaces, and I thought that the gui would change showing the icon "connecting" so to say.

Return to “Troubleshooting”