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 acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop lcd malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Desperately seeking help

Reply  
Thread Tools
mrbig's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Experience: Intermediate
25-Jul-2005, 10: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
Trusted Advisor with 18,705 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
25-Jul-2005, 10: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, 11: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, 01: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, 01: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, 03: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, 03: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, 06: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
02-Aug-2005, 12:12 AM #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; 02-Aug-2005 at 12:23 AM..
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:07 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.