Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Yoper Linux Help
Reload this Page DHCP / eth0 and lo problem
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Yoper Linux Help Officially recognised support forum for Yoper Linux.

Reply
 
Thread Tools Display Modes
Old 10-09-2005   #1 (permalink)
jenom
Just Joined!
 
Join Date: Oct 2005
Posts: 4
DHCP / eth0 and lo problem

I have a D-Link 4 port router connected to a cable modem.
When I use them with another Linux systems ...everything works fine.
Below is the results if I do "ifconfig" and "route" on a working system

My ethernet card is a Realtek 8139, module recognized and loaded as 8130too, when I do modprobe, it is OK !

Below is the results if I do "ifconfig" and "route" on a working system

[root@localhost /root]# ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:10:DC:71:C4:06
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:25943 (25.3 Kb) TX bytes:1984 (1.9 Kb)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0  TX bytes:0 (0.0

[root@localhost /root]# route
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.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.0.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost /root]#


However, YOPER v.2.1.0-4 behaving in a strange way !
During start up very annoying DHCPDISCOVER messages are showing up dozen of times, they are even distracting the appearance of the login lines (username, password)
Selected DHCP in "networksetup", but still have no connection to the internet, and result for "route" is different from a working systems.

Any other way to setup DHCP networking and make it work?

What is wrong with YOPERS DHCP /network/ethernet scripts ?

There used to be programs for network setup, such as :netcfg, netconfig, linuxconfig, ......but YOPER do not have them


This is what I got with YOPER for "ifconfig" and "route"

root@localhost ~ # ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:10:DC:71:C4:06
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:466 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0  TX bytes:0 (0.0 
Interrupt:10 Base address:0xf000

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:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5288 (5.1 Kb) TX bytes:5288 (5.1 Kb)
root@localhost ~ # route
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0

Any advice/suggestion/etc... will be appreciated !

Last edited by loft306; 12-23-2005 at 09:10 PM.
jenom is offline   Reply With Quote
Old 10-09-2005   #2 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
I don't know Yoper, but apart from the fact that your dhcp client request is taking so long I do not see any problem here.

If you can't access the web it seems more likely that you're having a nameserver problem. What does
Code:
cat /etc/resolv.conf
show you in Yoper? Compare that to the results in the "working" Linux system.
anomie is offline   Reply With Quote
Old 10-10-2005   #3 (permalink)
jenom
Just Joined!
 
Join Date: Oct 2005
Posts: 4
Eth0-DHCP

Thank you for your reply!

tried cat /etc/resolv.conf in both (working and non-working) and both returned :

nameserver 192.168.0.1

this is the actual address of my router, it has a 4 port switch, which generates 4 different Internet addressess;
the one which is assigned to this computer is 192.168.0.101

I am wondering why the "lo" interface (so called local loopback 127.0.0.1) does not show up in a non-working system's routing table ?
jenom is offline   Reply With Quote
Old 10-10-2005   #4 (permalink)
pavlo_7
Linux Enthusiast
 
Join Date: Jul 2005
Location: Maryland
Posts: 500
I do not know the setup procedures of cable modem, but I had similar problem using DSL modem and router. The DHCP would not work because modem and router had the same (192.168.1.1) internal adresses. So if I wanted to configure modem, I could
not get to it through the router. I would get router's configuration page. I changed
router's internal IP to 192.168.2.1 and let it receive external address trough DHCP.
After that I got DHCP working on all systems. I think you could try solving your problem the same way.
pavlo_7 is offline   Reply With Quote
Old 10-10-2005   #5 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
Quote:
tried cat /etc/resolv.conf in both (working and non-working) and both returned :

nameserver 192.168.0.1
Personally, I would try adding your ISP's nameservers to /etc/resolv.conf (and removing 192.168.0.1) in Yoper just to see if you can cruise the web afterwards.

I am not sure why your loopback device is not listed in the routing table.
anomie is offline   Reply With Quote
Old 10-10-2005   #6 (permalink)
pavlo_7
Linux Enthusiast
 
Join Date: Jul 2005
Location: Maryland
Posts: 500
Also, if there is firewall running on your system, see if it allows WWW (HTTP) incoming trafic.
pavlo_7 is offline   Reply With Quote
Old 10-10-2005   #7 (permalink)
pavlo_7
Linux Enthusiast
 
Join Date: Jul 2005
Location: Maryland
Posts: 500
Quote:
Originally Posted by anomie
Personally, I would try adding your ISP's nameservers to /etc/resolv.conf (and removing 192.168.0.1) in Yoper just to see if you can cruise the web afterwards.
Agree, and I think it will be the internal address of the modem. At least that's how it is generated by /sbin/dhclient-script in my case (DSL).
Edit: my DSL modem is also a router.
pavlo_7 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 06:48 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0