LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-23-2007, 09:21 PM   #1
darklink2058
Member
 
Registered: Apr 2006
Posts: 75

Rep: Reputation: 15
No Internet, eth0 show an ipv6 address


Hello.

I am surfing the web when the electricity shutdown my router and other things except one laptop and my PC with UPS.

Then I wait for the electricity come, but when I reboot my PC and do not have Internet, buy the other laptop with winxp does have.

I am trying to reestablish the Internet in may Slackware 12 via /etc/rc.d/rc.inet1 but does not work,

Code:
root@blackframe:/etc/rc.d# ./rc.inet1 
Polling for DHCP server on interface eth0:
dhcpcd: MAC address = 00:17:31:bb:44:3c
and when rc.inet1 is executing I run ifconfig and show that the eth0 have a ipv6.

Code:
eth0      Link encap:Ethernet  HWaddr 00:17:31:BB:44:3C  
          inet6 addr: fe80::217:31ff:febb:443c/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:510 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:103 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:30783 (30.0 KiB)  TX bytes:0 (0.0 b)
          Interrupt:20 Base address:0xe000 

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:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2056 (2.0 KiB)  TX bytes:2056 (2.0 KiB)
/etc/rc.inet1.conf
Code:
.
.
.
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
.
.
.
/etc/resolv.conf
Code:
search gateway.2wire.net
nameserver 192.168.1.254
Thank you.
 
Old 08-23-2007, 09:31 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
I has been awhile since I've run Slack, but I think the netconfig command might be helpful.

You can find more information here.
 
Old 08-24-2007, 12:09 AM   #3
darklink2058
Member
 
Registered: Apr 2006
Posts: 75

Original Poster
Rep: Reputation: 15
I do not know why, but I already have Internet.

Thank you.
 
  


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
eth0: Device eth0 has different MAC address than expected,ignoring. lin1010 Linux - Networking 5 11-24-2010 08:30 AM
I get IPV6 address and no IPV4. Why? erics_acvw Linux - Networking 2 10-22-2006 09:12 PM
IPv6 address ????????? hegdeshashi Programming 3 06-19-2006 04:13 AM
getting IPv6 address lacitpo Linux - Networking 1 03-18-2005 12:09 PM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 09:54 AM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration