LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2004, 06:58 AM   #1
damage_inc
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake 10.0 Discovery
Posts: 2

Rep: Reputation: 0
Mandrake 10.0 and my network


Hi

I've long used Windows XP, and this year, for my birthtday, I got Mandrake 10.0 Discovery.

I already had a network set up with Windows XP sharing our internet connection (adsl) between me and my dad using a router (Nexland Soho ICB), which worked peachy. But I can't seem to get my PC on the network when using Linux (I have a dual boot, when I use XP it still gets on the net fine)

I've been through the DakConnect wizard a gazillion times, and I'm out of ideas...

Can anyone help me?
 
Old 07-28-2004, 07:15 AM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
In a terminal (you may have to be root if these commands are unavailable su root )
ifconfig
will check your interfaces.
Do you have an IP address?
route
Do you have a gateway?
ping localhost
ping youripaddress
ping theRouter'sIPaddress
cat /etc/resolv.conf
Do you have DNS?
ping cbc.ca
Somewhere along this line, you should find out why things are not happening. To cheat, you could peek at the network setting in the XP box that works...
 
Old 08-02-2004, 11:38 AM   #3
Whatshisface
Member
 
Registered: Aug 2003
Location: Chesapeake Beach, MD
Distribution: Mandrake 9.2
Posts: 58

Rep: Reputation: 15
This looks like the ball park for my problems sharing internet w/2 boxes running Mandrake 10. The main `puter is directlly connected to the router which has the DSL modem connected to it. The other box (box2 I'll call it) is on connection #1 of the router. I'm having trouble configuring box 2. Here is some output:
[root@mybox jay]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:35:B1:A1:4A
inet6 addr: fe80::220:35ff:feb1:a14a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2916 (2.8 Kb) TX bytes:1338 (1.3 Kb)
Interrupt:11 Base address:0xdf80

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:428 errors:0 dropped:0 overruns:0 frame:0
TX packets:428 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34404 (33.5 Kb) TX bytes:34404 (33.5 Kb)

[root@mybox jay]# ping cbc.ca
ping: unknown host cbc.ca
[root@mybox jay]# ping 192.168.1.101
connect: Network is unreachable

[root@mybox jay]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.125 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.100 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.101 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.098 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.100 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.101 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.113 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.113 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.112 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.112 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.101 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.101 ms
64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.104 ms
64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.100 ms
64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.102 ms
64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.103 ms

I am not sure what my router's address is or the exact address of box1. How do I obtain these?

Any suggestons? I have run Mandrake Control Center and Network settings and tried "New Connection" several times using different settings for LAN connection, ADSL connection and so forth. I can't seem to get it to connect. I'm not trying to share files or printers yet. I just want to connect to the net from box2.

Last edited by Whatshisface; 08-02-2004 at 11:46 AM.
 
Old 08-02-2004, 03:49 PM   #4
phlyersphan
Member
 
Registered: Jun 2004
Location: Chicago, IL USA
Distribution: Mandrake 10
Posts: 103

Rep: Reputation: 15
I was able to set mine up through the mandrake control center. You will probably need to configure your mandrake box(es) to use your router's local-side IP address as the default gateway. The way mine is set up, the router takes the public IP address from my broadband provider. That's the "public" side of the router. One the "private" side, I have 3 computers attached: one via a cable, in the first port on the router's built-in switch/hub, and 2 wirelessly. (My router is a wireless access point as well). The router will have a private IP address, usually the first or last address in one of the private ranges. Many ship with a default of 192.168.1.1. In that case, you'd configure the default gateway of your mandrake machines to be 192.168.1.1 (because the router is acting as your gateway to the public internet). Each machine will also need its own unique IP address, in the same range as your router's address (such as, 192.168.1.100 and 192.168.1.101, in this case). You may also need to input the DNS addresses provided by your ISP.

Now - if your router supports DHCP, it may be able to configure the IP address and DNS/gateway/etc of each client machine for you. My router requires me to specifiically enable DHCP if I want to use it, and if it is disabled (which mine is), I have to input the IP address/gateway/DNS manually on each of my client computers.

How do you configure your router? Via a web browser? (Such as, http://192.168.1.1). If so - that's probably the same IP address you'll use as the default gateway setting on your client computers.
 
Old 08-02-2004, 05:14 PM   #5
Whatshisface
Member
 
Registered: Aug 2003
Location: Chesapeake Beach, MD
Distribution: Mandrake 9.2
Posts: 58

Rep: Reputation: 15
Yes, my default gateway is set to 192.168.1.1. I have never tried to configure my router. In Mandrake Control Center -> Manage Connections, the values I input don't stick. I adjust to configure my card and the IPaddress and set to DHCP (not static), click apply, then OK. I come back a minute later and all the values are gone. Also I think it's weird that on startup eth0 shows FAILED, but Harddrake sees it plain as day.
 
Old 08-02-2004, 05:20 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
on startup eth0 failing is ok - this is normal
as for the other part: never had it happen... the values i input(ted?) there stuck...
try static... if it's a linksys router, the ip address should go:
192.168.1.100 - first device
192.168.1.101 - second device
and so on

also: try allowing it to configure @ boot... this may make the DHCP stick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need Network install HELP for Mandrake 9.2! using network.img w/ cable modem physans Mandriva 6 02-25-2004 04:15 PM
Mandrake network legin Linux - Networking 8 10-14-2003 08:27 AM
Network in Mandrake Demon Linux - Hardware 2 02-25-2003 04:28 PM
new network adapter under mandrake single network firewall nerip Linux - Networking 3 08-03-2002 03:13 PM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 11:45 AM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration