Networking Forums

Networking Forums > Computer Networking > Linux Networking > setting up LAN with linux

Reply
Thread Tools Display Modes

setting up LAN with linux

 
 
Alexandre Netto
Guest
Posts: n/a

 
      11-30-2003, 02:55 AM
Hello,

Firstly, let me say that my networking knowledge is about nule,
needing advice on setting it up. The connection is made with a cental
machine that allows me to access the internet through a gateway. It's
not a ISP in the sense i've no email, etc. I've recently changed to
Linux (~6 months), dont have much experience with it.

Now to the problem, within WinME all i need to access the internet is
setting my Ethernet Adapter to use TCP/IP and setting it by assigning
a Fixed IP address and a netmask (e.g. 192.167.121.5 - 255.255.255.0)
assigning the gateway (e.g. 192.167.1.1) and the DNS (2 IP numbers,
the host (this one can be anything) and the domain).

Now within Linux there's trouble configuring an ipv4 connection. The
first day i could make connection sometimes using, strange enough,
dhcpcd. But then it wouldn't work anymore all suddenly. So i tried to
configure it with ifconfig and route. All that i tried didn't work,
iam probably mistepping.. that is what i tried:
ifconfig eth0 192.167.121.5 netmask 255.255.255.0 broadcast
192.167.121.255
the route command outputs:
IP:192.167.121.0 GW: * ...
i try to create a gateway with:
route add default gw 192.167.1.1
but then the message "Network unreachable".
I tried also setting:
route add -host 192.167.121.5
but things dont work with it neither..
resolv.conf has the 2 ip numbers, and hosts has my host and domain.

I used linuxconf to set all networking parameters but all with no
result.. Tried to install Webmin but it just dont work when i try to
access it with Netscape or Konqueror (e.g.: "http://avbn2003:10000")
-> page unreachable error.

I am sure the hardware is all configured properly, i use an ethernet
card provided within (onboard) a motherboard ASUS A7VX-X. The ethernet
card is a VIA Rhine 10/100 Mbps, and loading its module was
troubleless since the ASUS CD provides a linux driver for it (also it
is already available in the 2.4.5 kernel), linux loads it and assigns
an IRQ and HW address, ok.
 
Reply With Quote
 
 
 
 
Alexandre Netto
Guest
Posts: n/a

 
      12-01-2003, 04:31 AM
Hi, about the previous posting, it is all resolved by now and,
hopefully, i dont have to reenter Windows to access internet. The
problem was due to the netmask, since the gateway couldnt be reached
by netmask 255.255.255.0 but with 255.255.0.0. It's strange enough
though that in WinMe i had it working properly with the wrong netmask
but even not using automatic IP resolution, or dhcpd..

(E-Mail Removed) (Alexandre Netto) wrote in message news:<(E-Mail Removed). com>...
> Hello,
>
> Firstly, let me say that my networking knowledge is about nule,
> needing advice on setting it up. The connection is made with a cental
> machine that allows me to access the internet through a gateway. It's
> not a ISP in the sense i've no email, etc. I've recently changed to
> Linux (~6 months), dont have much experience with it.
>
> Now to the problem, within WinME all i need to access the internet is
> setting my Ethernet Adapter to use TCP/IP and setting it by assigning
> a Fixed IP address and a netmask (e.g. 192.167.121.5 - 255.255.255.0)
> assigning the gateway (e.g. 192.167.1.1) and the DNS (2 IP numbers,
> the host (this one can be anything) and the domain).
>
> Now within Linux there's trouble configuring an ipv4 connection. The
> first day i could make connection sometimes using, strange enough,
> dhcpcd. But then it wouldn't work anymore all suddenly. So i tried to
> configure it with ifconfig and route. All that i tried didn't work,
> iam probably mistepping.. that is what i tried:
> ifconfig eth0 192.167.121.5 netmask 255.255.255.0 broadcast
> 192.167.121.255
> the route command outputs:
> IP:192.167.121.0 GW: * ...
> i try to create a gateway with:
> route add default gw 192.167.1.1
> but then the message "Network unreachable".
> I tried also setting:
> route add -host 192.167.121.5
> but things dont work with it neither..
> resolv.conf has the 2 ip numbers, and hosts has my host and domain.
>
> I used linuxconf to set all networking parameters but all with no
> result.. Tried to install Webmin but it just dont work when i try to
> access it with Netscape or Konqueror (e.g.: "http://avbn2003:10000")
> -> page unreachable error.
>
> I am sure the hardware is all configured properly, i use an ethernet
> card provided within (onboard) a motherboard ASUS A7VX-X. The ethernet
> card is a VIA Rhine 10/100 Mbps, and loading its module was
> troubleless since the ASUS CD provides a linux driver for it (also it
> is already available in the 2.4.5 kernel), linux loads it and assigns
> an IRQ and HW address, ok.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a linux fileserver groblus Linux Networking 23 05-02-2009 02:26 PM
Setting up Net Gateway in Linux? x0054 Linux Networking 3 09-10-2006 08:11 PM
Setting up my linux box with a fixed IP nathan.pitman@gmail.com Linux Networking 2 06-17-2005 08:59 PM
Help setting up routing table under linux 2.4.21 James Linux Networking 0 09-09-2004 10:53 PM
Setting up a Linux Network MadCrazyNewbie Linux Networking 1 04-13-2004 01:44 PM



1 2 3 4 5 6 7 8 9 10 11