No DHCPOFFERS received.

Piyush
Hello guys I have the cable modem internet connectrd to my PC through the
DHCP and I want to access the internet on my mini240 board and for that I
just connected the internet cable to my mini2440 board and got the
following result

# eth0: link up, 100Mbps, full-duplex, lpa 0x05C1


It means th emini is detecting the etherenet cable and thereafter I ran
this command:

# /etc/init.d/networking restart

the output is :

Reconfiguring network interfaces...There is already a pid file
/var/run/dhclient.eth1.pid with pid 25
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/08:08:11:18:12:27
Sending on   LPF/eth1/08:08:11:18:12:27
Sending on   Socket/fallback
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

eth1: link down
Listening on LPF/eth1/08:08:11:18:12:27
Sending on   LPF/eth1/08:08:11:18:12:27
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.


I am not able to get the connection .


the /etc/networks/interfaces file is as follows :

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet DHCP


#auto wlan0
#iface wlan0 inet dhcp
# wireless-key 1234567890
# wireless-essid myssid
# wireless-channel 4


I am not able to get the problem , please help me as I want the internet
connection to my mini board for a purpose


thank you

linux_support
Hi
Some of the Internet Connection Providers maintain a database of the mac
address of their clients LAN card. In that case if you change your LAN card
then also you will not be able to use your internet connection unless you
ask your service provider to update the database.
Try one thing - make a note of the MAC address of your PC's LAN card. 
assign the same MAC address to the mini2440 board and try once again. I
think you might be able to use the internet connection this way.

Regards
linuxsupport@vectorindia.org
http://www.vectorindia.org

Piyush
hello thanks Linux_supporet 


I did what you suggested and I got the success in conne3cting to the
network in my home.

But when I tried to connect to the network at my college computer lab than
I got the my mini dhcp client get the access to it but with some error ,
the output is this :


Configuring network interfaces...Internet Systems Consortium DHCP Client
V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

eth1: link down
Listening on LPF/eth1/00:23:54:a8:7f:26
Sending on   LPF/eth1/00:23:54:a8:7f:26
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPOFFER from 192.168.10.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.10.1
SIOCADDRT: No such process
bound to 192.168.10.27 -- renewal in 12520317 seconds.
done.



everything is ok except this " SIOCADDRT: No such process " and I am not
able to get this problem that why this is happening and also the result of
my route -n command is as follows :


# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0
eth1

it does not show the entire route table 

also it get assigned the ip address automatically but not getting the
pinging to any site :


the ifconfig is this :

ifconfig
eth1      Link encap:Ethernet  HWaddr 00:23:54:a8:7f:26
          inet addr:192.168.10.27  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:304 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28517 (27.8 KiB)  TX bytes:684 (684.0 B)
          Interrupt:51 Base address:0x300

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 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Please help me linux_support I am not getting this .


Thank you

Piyush
Hello 


actually when I connect mini2440 to my home internet I get this 
as output through this command :

# /etc/init.d/networking start
Configuring network interfaces...Internet Systems Consortium DHCP Client
V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

eth1: link down
Listening on LPF/eth1/00:1b:fc:c5:1a:12
Sending on   LPF/eth1/00:1b:fc:c5:1a:12
Sending on   Socket/fallback
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 10.128.0.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.128.0.1
bound to 116.74.41.85 -- renewal in 378 seconds.
done.


there is no " SIOCADDRT: No such process " in the above connection

but in my college I get this :


Configuring network interfaces...Internet Systems Consortium DHCP Client
V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

eth1: link down
Listening on LPF/eth1/00:23:54:a8:7f:26
Sending on   LPF/eth1/00:23:54:a8:7f:26
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPOFFER from 192.168.10.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.10.1
SIOCADDRT: No such process
bound to 192.168.10.27 -- renewal in 12520317 seconds.
done.



everything is ok except this " SIOCADDRT: No such process " and I am not
able to get this problem that why this is happening and also the result of
my route -n command is as follows :

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0
eth1

it does not show the entire route table 


whereas in my home network it shows this on route :

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
116.74.40.0     0.0.0.0         255.255.248.0   U     0      0        0
eth1
0.0.0.0         116.74.40.1     0.0.0.0         UG    0      0        0
eth1


Please give me solution to this that what is this and how to get rid of
this.


Thank you

linux_support
Hi
That error means its some kind of routing error and your mini2440 cannot
find the route to the server. Now since your mini2440 is connecting to your
home network successfully then the settings in your 2440 is correct. I will
suggest you to consult the administrator of your college LAN.

Regards
Vector Institute
linuxsupport@vectorindia.org
http://www.vectorindia.org