Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Desperately seeking help

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
mrbig's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Experience: Intermediate
25-Jul-2005, 09:35 PM #1
Desperately seeking help
Hi there everyone.

I am runinng Linux mandrake 10.0 and I am having a problem getting it to get an ip address so I can connect to the internet. Is there anyone that can help me please
Squashman's Avatar
Distinguished Member with 14,984 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
25-Jul-2005, 09:37 PM #2
What is the output of ifconfig.
mrbig's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Experience: Intermediate
25-Jul-2005, 10:30 PM #3
Ok. here is what I got when I typed ifconfig

eth0 linkencop:ethernet Hwaddr 00:E0:4C:9D:21:75
inet6 addr:fe80::2e0:4cff:fe9d:21:75/64 scope:link
UPBROADCAST RUNNING MULTICAST MTU:1500 METRIC:1
RX Packets:0 errors:0 dropped:382 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:1000
RXbytes:0 (0.0 b) TXbytes:0 (0.0 b)
Interrupt:16 Base address:0xec00

lo l link encap:local loopback
inet address:127.0.0.1 mask 255.0.0.0
inet address: ::1/128 scope:host
Up loop back Running MTU:16436 metric:1
RX packets:197 errors:0 dropped:0 overruns:0 frame:0
TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:0
Rxbytes:14684 (14.3kb) tx bytes 14684 (14.3 kb)

Is there anything there that needs to be fixed if so how. Thanks.
lunchbox's Avatar
Senior Member with 167 posts.
 
Join Date: May 2005
Experience: Advanced
26-Jul-2005, 12:24 AM #4
How is your network setup? Is the ethernet card connected directly to the net or is it going through a router of sorts?

If its connected directly with a cable modem use the command "dhcpcd eth0"

if that doesnt work replace dhcpcd with "dhclient"
mrbig's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Experience: Intermediate
26-Jul-2005, 12:26 AM #5
Yes It directly connected to the ethernet card. I will try that and let you know within a few mins what happened.
mrbig's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Experience: Intermediate
26-Jul-2005, 02:26 AM #6
I have typed in dhclient and here is what I got back

Sit0:unknown hardware address type 776
/sbin/dhclient-script:configuration for sit0 not found
sit0:unknown hardware address type 776
listening on LPF/sit0
sending on LPF/sit0
Listening on LPF/eth0/00:e0:4c:9d:2175
Sending on LPF/eth0/00:e0:4c:9d:2175
Listening on LPF/lo
Sending on LPF/lo
Sending on socket/Failback
recieve_packet failed on sit0:network is down
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 3
Send_packet:network is down
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 8
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 6
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 8
send_packet:network is down
DHCPDISCOVER on loto255.255.255.255 port67 interval 14
DHCPDISCOVER on eth0to255.255.255.255 port67 interval 18
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 15
sending_packet:network is down
DHCPDISCOVER on eth0to255.255.255.255 port67 interval 13
DHCPDISCOVER on loto255.255.255.255 port67 interval 21
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 8
send_packet:network is down
DHCPDISCOVER on eth0to255.255.255.255 port67 interval 15
DHCPDISCOVER on sit0to255.255.255.255 port67 interval 15
send_packet: network is down
DHCPDISCOVER on loto255.255.255.255
DHCPDISCOVER on eth0to255.255.255.255
DHCPDISCOVER on sit0to255.255.255.255
send_packet:network is down
DHCPDISCOVER on loto255.255.255.255
DHCPDISCOVER on sit0to255.255.255.255
send_packet:network is down
NoDHCPOFFERS recieved
No working leases inpersisant data
/sbin/dhclient-script:configuration


Hope this helps you to figure out what is wrong

thanks
lunchbox's Avatar
Senior Member with 167 posts.
 
Join Date: May 2005
Experience: Advanced
26-Jul-2005, 02:30 AM #7
Did you type "dhclient eth0"

??

It shouldnt return that as far as im aware, although my experience is primarily with pump and dhcpcd
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
26-Jul-2005, 05:18 AM #8
Open Mandrake Control Center> network & Internet and set up your network interface.
lynch
Verity's Avatar
Junior Member with 1 posts.
 
Join Date: Aug 2005
Experience: Einstein
01-Aug-2005, 11:12 PM #9
Setting up your network under Linux (generic instructions)
This should apply to most Linux distributions, not just Mandrake.


/sbin/ifconfig eth0 up 192.168.1.101 netmask 255.255.255.0 (required)

/sbin/route add eth0 default gw 192.168.1.1 (optional)


This setup assumes you are on a network without DHCP, and that you want to

assign your computer a static internal IP address of 192.168.1.101 (all machines

on your network must also have IP addresses of 192.168.1.* too ).


The second statement is optional, but needed if you have a gateway on your

network (such as a hardware router, made by companies like Linksys or Netgear ).

The IP address is often 192.168.1.1, but does not have to be.

Last edited by Verity : 01-Aug-2005 11:23 PM.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:47 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.