Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 21st, 2003, 09:37 AM
SofTek SofTek is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 SofTek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yet another newbie, networking problem...

Hi,

I'm a complete newbie - and still I've just installed Mandrake Linux 9.1...
My problem is as follows... I have windows xp installed on a seperate partition on my hdd, and form windows my internet connection works perfectly fine... And in Linux I simply can't sem to make it work...
What I have, is an ADSL conection which goes through a router (Cisco 677) with a static IP, address...
I've tried to configure it through the "mandrake control center", using the wizard, though also through linuxconf... And yet nothing seems to work...
The info I have from my service provider includes:
my lan IP
my gateway's (the router) ip
Primary and secondary DNS
and subnetmask

It should be just a trivial setup, though I just can't make it work...
Any help would be appreciated

Thanks in advance

Kris

P.S. Pardon my spelling - I'm not only a Windows user - I'm Danish too...

Reply With Quote
  #2  
Old April 23rd, 2003, 06:19 AM
Jonas_G Jonas_G is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Belgium
Posts: 60 Jonas_G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
dhcpd eth0

assuming you have your network card drivers installed
try this dhcpd eth0 as root ofcourse

Reply With Quote
  #3  
Old April 24th, 2003, 06:52 PM
rfc791's Avatar
rfc791 rfc791 is offline
unix hermit
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: http://www.rfc791.org
Posts: 18 rfc791 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
in the following,
replace 10.0.0.2 with your IP
replace 255.0.0.0 with your netmask
replace 10.0.0.1 with your gateway/router IP
replace 10.0.53.1 and 10.0.53.2 with your DNS server IPs


# ifconfig eth0 10.0.0.2 netmask 255.0.0.0 up
# route add default 10.0.0.1
# echo 'nameserver 10.0.53.1' > /etc/resolv.conf
# echo 'nameserver 10.0.53.2' >> /etc/resolv.conf


If this doesn't work until you reboot, then you need to compile
the driver for your network card into your kernel.


# cd /usr/src/linux
# make menuconfig
# make dep clean bzImage
# make modules modules_install


and read the docs for your bootloader (lilo or whatever)

Reply With Quote
  #4  
Old April 25th, 2003, 10:03 AM
SofTek SofTek is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 SofTek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy tried... and failed!

rfc791 --> I did as you said (almost), and here's the output...

Before doing anything the 'ifconfig' and the 'route' looked like this:

#eth0 Link encap:Ethernet HWaddr 00:10C:C3:2DA
# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
# RX packets:0 errors:0 dropped:0 overruns:0 frame:0
# TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
# collisions:0 txqueuelen:100
# RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# Interrupt:19 Base address:0xec00
#
#lo Link encap:Local Loopback
#
# inet addr:127.0.0.1 Mask:255.0.0.0
# UP LOOPBACK RUNNING MTU:16436 Metric:1
# RX packets:58 errors:0 dropped:0 overruns:0 frame:0
# TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
# collisions:0 txqueuelen:0
# RX bytes:3808 (3.7 Kb) TX bytes:3808 (3.7 Kb)

#Kernel IP routing table
#Destination Gateway Genmask Flags Metric Ref #Use Iface
#127.0.0.0 * 255.0.0.0 U 0 0 0 lo

And pinging would only return "Network is unreachable"...

After following you steps it looked like this:

#eth0 Link encap:Ethernet HWaddr 00:10C:C3:2DA
# inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
# RX packets:0 errors:0 dropped:0 overruns:0 frame:0
# TX packets:0 errors:0 dropped:13 overruns:0 carrier:0
# collisions:0 txqueuelen:100
# RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# Interrupt:19 Base address:0xec00
#
#lo Link encap:Local Loopback
# inet addr:127.0.0.1 Mask:255.0.0.0
# UP LOOPBACK RUNNING MTU:16436 Metric:1
# RX packets:101 errors:0 dropped:0 overruns:0 frame:0
# TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
# collisions:0 txqueuelen:0
# RX bytes:6736 (6.5 Kb) TX bytes:6736 (6.5 Kb)

#Kernel IP routing table
#Destination Gateway Genmask Flags Metric Ref Use Iface
#192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
#127.0.0.0 * 255.0.0.0 U 0 0 0 lo
#default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

And when trying to ping the router/gateway it looked like this (though, now I was able to ping my own IP):

#PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
#From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
#From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
#From 192.168.1.2 icmp_seq=3 Destination Host Unreachable
#
#--- 192.168.1.1 ping statistics ---
#3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2016ms
#, pipe 3

As you suggested I think the problem must be with the driver (since it works in win XP...) But how do I know what driver to use?? Cause Mandrake has automatically installed what appears to be the right driver..?
My nic is a SiS 900 onboard lan interface - and that's even what mandrake is suggesting...?

I'm really getting quite desperate now - So I hope someone will be able to come to my rescue..?

Thanks in advance

Kris - the desperate Dane

P.S. If you think you need more info in order to help me - then please let me know!!

Reply With Quote
  #5  
Old April 28th, 2003, 11:00 PM
rfc791's Avatar
rfc791 rfc791 is offline
unix hermit
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: http://www.rfc791.org
Posts: 18 rfc791 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I no longer think you have a driver problem.

try simply


# ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up


after a reboot and then see if you can't


# ping 192.168.1.1


You can ping it from your other O/S, right?

Reply With Quote
  #6  
Old April 30th, 2003, 05:32 PM
SofTek SofTek is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 SofTek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It finally works...

Hi,

Finally made it work...

Apparently I had to boot with no apic...
Why I have to do so, I don't know - but apparently some other guy had the same problem with the same nic...

But thanks for your help, it was much appreciated!

Kris

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Yet another newbie, networking problem...

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap