News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Networking

Started by cliff, November 13, 2007, 04:00:43 AM

Previous topic - Next topic

cliff

I use a linksys router WRT54G as an internet gateway.  It is connected to one network port of the LinuxMCE.  The other network port is connected to a wired router.  DHCP is disabled on the WRT54G.  All computers can see each other.  Only the linuxmce can use the internet.  All computers have a ip address.  The linuxmce computer gives me the following information. 

router 127.0.0.1
internal 192.168.80.1 eth1
external 169.254.7.213 dhcp eth0


teedge77

are you saying the ip address of the router is 127.0.0.1 or did you mistype and really mean 172.0.01? if not mistyped, try changing it to something else. thats a loopback address. did you set it that way? did it ever work? if you are putting that as a route nothing will ever get anywhere. change it to something like 10.0.40.1 or something.
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

Zaerc

You can either enable DHCP on the linksys router (internet gateway), or configure the external interface manually.  DHCP only has to be disabled on the internal network so that your core can manage it. 

Your external interface is set to obtain it's IP address automaticly but there is no DHCP server running (on the linksys) to configure it.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

teedge77

sorry...i misread...are you saying that linuxmce is showing itself as the router? that would explain the loopback ;) oops....yeah the internal is the one that needs dhcp set to run from the core.
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

cliff

So are you saying that I have the internal and external reversed as well as dhcp?  If so how do I fix it? Switch the cables? 

teedge77

no it looks like you have dhcp enabled on the wrong side. it should be enabled on the internal side. did you put the 169 address on the external side yourself or did lmce do it?
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

Zaerc

Just enable DHCP on the linksys, and everything should be fine.  I don't think you have to change anything else.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

teedge77

can the computers see linuxmce? what ips are they getting? 192.168.80.X?
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

tkmedia

169 adresses usaully a result of dhcp not getting an address. You said one side is a wired router is this a dhcp server ?? if not use a static address and set your gateway and dns servers.


hope this helps


Tim

My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

cliff

I appreciate the help.  I use a modem connected to linksys gateway with dhcp turned off.  That runs into one network card on the linuxmce hybrid.  An ethernet switch is connected to the second network card.  All other computers are connected to the switch.  I turned everything on in the following sequence:  Linksys, LinuxMCE, router and then other computers on the network.   All computers on the network have 169.254.181.xxx addresses.  As far as which network connector is external or internal, what would determine which would be which.

tkmedia

Quote from: cliff on November 16, 2007, 03:28:19 AM
I appreciate the help.  I use a modem connected to linksys gateway with dhcp turned off.  That runs into one network card on the linuxmce hybrid.  An ethernet switch is connected to the second network card.  All other computers are connected to the switch.  I turned everything on in the following sequence:  Linksys, LinuxMCE, router and then other computers on the network.   All computers on the network have 169.254.181.xxx addresses.  As far as which network connector is external or internal, what would determine which would be which.


Just a hunch if not to much trouble.
Try this turn dhcp on linksys and switch the patch cords.

Tim
My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

marrandy

Zaerc said:

"Just enable DHCP on the linksys, and everything should be fine.  I don't think you have to change anything else."

I would go for that as well, short of using a another  computer to run tests
[url="http://wiki.linuxmce.org/index.php/User:Marrandy"]http://wiki.linuxmce.org/index.php/User:Marrandy[/url]

tkmedia

#12
QuoteAll computers on the network have 169.254.181.xxx addresses.  As far as which network connector is external or internal, what would determine which would be which.



The reason I think you need to swap the patch cords (external-internal)

is if you google 169 IPADDRESS one of many articles
http://www.pctechbytes.com/computer/article-8.html
If it does not see the DHCP server it will give up and make up an IP address for itself. This IP will often look something like 169.x.x.x. This is a local address that will not likely have any communication with other PCs on the network.
didn't you say earlier
internal 192.168.80.1 eth1
so all internal pc's should be on that net (192.168.0.xxx)


QuoteI think is a small type-o and should be 192.168.80.xxx instead.
Edit Yep typo

should be 192.168.80.xxx

You can also use the swap interface under web admin networking.


Sorry if I am wrong just trying to help

Tim
My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

Zaerc

Seeing that cliff said: "All computers on the network have 169.254.181.xxx addresses." I think tkmedia is right, the cables are very likely connected the wrong way around.  I hadn't thought about that, and switching the cables is easy to try.  The DHCP on the linksys definately needs to be turned on (or more configuration is needed).

Quote from: tkmedia on November 16, 2007, 07:29:40 AM
so all internal pc's should be on that net (192.168.0.xxx)

That I think is a small type-o and should be 192.168.80.xxx instead.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

marrandy


Yes, I didn't see that, it was in a later post.

Good call on both accounts
[url="http://wiki.linuxmce.org/index.php/User:Marrandy"]http://wiki.linuxmce.org/index.php/User:Marrandy[/url]