Help - Search - Members - Calendar
Full Version: Can't Connect to internet
MandrivaUsers.org > Advanced Topics > Networking
NightWalker
Hi,

I successfully got Mandrake installed. Though I seem to have a problem with connecting to the internet. I use a powerline box which is networking that goes through power outlets. I don;t think that the box uses any drivers so I'm guessing its the way I set up the LAN connection. Can any one help me with setting the connection up?
Ixthusdan
How did you set it up with your windex box?
NightWalker
Took the box then plugged it into the outlet then plugged the ethernet cord into the comp. It worked without having to get drivers or anything.

I'm guessing that I'm messing something up with the configuration process. Like the DHCP and other options.
Ixthusdan
Well, that's kind of what I was getting at. It sounds like you are "on the net" so dhcp is the ticket, unless your isp assigned a fixed ip. So assign dhcp at boot to eth0, I assume, and see what happens. I've read about the power plug thing, but never had any experience with it. Isn't there a box that actually has the cable/dsl hook up, and the net is distributed through the lines in the house? That box must be the dhcp server, with a netmask of 255.255.255.0. The gateway might be 192.168.2.1, or something. Check it out.
NightWalker
No workie
furious3.gif furious3.gif help.gif

It won't even let me go into 192.168.0.1 in the internet browser. I think it thinks that 192.168.0.1 is my IP. *sigh*
Ixthusdan
Here's a not so neat way to do it. Boot windex and see what the configuration is. With xp, go to my network and network connections. Click on the connection and select properties with a left click drop down menu. With other windexes, run "winipfconfg" ( think!) and a window will come up giving you all the net information.
NightWalker
QUOTE (Ixthusdan @ Jul 25 2004, 07:27 AM)
Here's a not so neat way to do it. Boot windex and see what the configuration is. With xp, go to my network and network connections. Click on the connection and select properties with a left click drop down menu. With other windexes, run "winipfconfg" ( think!) and a window will come up giving you all the net information.
*


Didn't work. Thanks for the effort though.
streeter
What didn't work??

If you post the settings from Windows here, we can tell you what to enter where in Linux...

BTW it's winipcfg or ipconfig depending on your version of Windows. You need to open a Windows console either by finding it in the start menu or selecting start->run->command or cmd, again depending on the Win version.

Chris
NightWalker
I use a GUI in Xp instead of command line. Any way here are the settings.

Host Name: psychosis

DNS Server: 192.168.0.1

Node Type: Broadcast

Adapter Address: 00-10-DC-52-E1-E4

IP Address: 192.168.0.102

Subnet Mask: 255.255.255.0

Default Gateway: 192.168.0.1

DHCP Server: 192.168.0.1
streeter
OK - here's what to do in the first instance (we will set up a static address):

Edit /etc/sysconfig/network-scripts/ifcfg-eth0 so it looks like this:
CODE
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.102
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes


and /etc/sysconfig/network so it looks like this:
CODE
HOSTNAME=psychosis
NETWORKING=yes
GATEWAY=192.168.0.1


You will also need the IP address of your nameserver at the top of /etc/resolv.conf:
CODE
nameserver 192.168.0.1


Then reboot.
If it doesn't work now, have a look at my howto here:
simple net setup
which gives you a few other things to try and some tests (pings) you can do and what output to post for further help (e.g. 'ifconfig' and 'route -n').

Good luck!
Chris
arctic
streeter, i must admit, i am deeply impressed how smart and easy going you handle these networking things in musb. hats off. you are a real networking guru. smile.gif
NightWalker
Yes I would like to thank him too headbang.gif headbang.gif

Well when I reboot and i look at the "veborse" it dosent sorta hang at loading eth0 instead it says that it's busy.

Any clue what it is?
nocturnes
QUOTE (NightWalker @ Jul 25 2004, 05:40 PM)
Yes I would like to thank him too headbang.gif  headbang.gif

Well when I reboot and i look at the "veborse" it dosent sorta hang at loading eth0 instead it says that it's busy.

Any clue what it is?
*


Mandrake 10 seems to do this on boot (give errors for ethx). SImply open up a terminal and bring it up manually (drop it first to ensure it is free). Works for me everytime
NightWalker
That didn't work.
streeter
Haven't seen a busy message before - could you post the exact wording.

Can you ping the interface and gateway? (see the howto)

If not, please post output of "ifconfig" , "route -n" and the make/model of your card.

Chris
NightWalker
The error message:
CODE
Device or Resource is busy


When I do nocturnes advice:
CODE
[root@Verizon nightwalker]# ifconfig eth0 down
[root@Verizon nightwalker]# ifconfig eth0 up
SIOCSIFFLAGS: Device or resource busy


When I do route -n:
CODE
[root@Verizon nightwalker]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface


When I do "ifconfig":
CODE
[root@Verizon nightwalker]# ifconfig
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:16436  Metric:1
         RX packets:82 errors:0 dropped:0 overruns:0 frame:0
         TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:5172 (5.0 Kb)  TX bytes:5172 (5.0 Kb)


When I ping the router:
CODE
[root@Verizon nightwalker]# ping 192.168.0.1
connect: Network is unreachable


Hope it helps. Thanks so much for trying to help me.
streeter
Try disabling plug and play in the bios.

If that doesn't work, please post the make and model of the card - then we can see if the driver module is loading.

Chris
NightWalker
Ok hold on.
NightWalker
headbang.gif headbang.gif headbang.gif headbang.gif

YEAH! It worked. I don't know whether not it was the router driver update or the disabling of plug and play.

Bottom line is I gotta thank ya for checking the topic and helping me. It moved a bit slow but I think it was the bitorrent client that was running on the other computer.

THANK YOU!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.