LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-27-2009, 11:26 PM   #1
vsanandan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Rep: Reputation: 0
Unhappy Routing problem is reporting this error "Unable to find default route interface name"


I am running an CPE (customer premises equipment) application software in my Linux system and trying to connect to an ACS (both from Gatespace.com).My CPE s/w that tries to connect to ACS reports like this:
./cwmpc -d -v -D 0x3 -w eth0 -l eth0
WanIF up eth0 192.168.9.26
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.11.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.10.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.9.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.8.
Create static instance: InternetGatewayDevice.LANDevice.1.
Create Instance: InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.IPInterface.1.
Create static instance: InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.
Create static instance: InternetGatewayDevice.WANDevice.1.
SIOCADDRT: File exists
system("route add default gw 192.168.9.1 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 192.168.9.0 netmask 255.255.255.0 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 10.7.142.0 netmask 255.255.255.0 gw 192.168.9.1 dev eth0") (1792)
Data Model restored from config.save
Setting cipher list to SSLv3:RSAES:SHA+RSA:RC4:SAH+MEDIUM
SSL Client Certificate chain file /var/cert/client.pem not found.
SSL Certificate file /var/cert/server.pem not found. Server Certificate verification disabled
cpeLockConfiguration( LockCnt=1)
WanIF up eth0 192.168.9.26
Unable to find default route interface name
Connect to ACS at http://gs-oacs.gatespace.net/tr69/tr69.cgi

dns_lookup(gs-oacs.gatespace.net) = 67.63.68.229

closeConnection Discard
cpeUnlockConfiguration( LockCnt=0, changed=False)
ACS Disconnect: error 1
retry = 1 waitTime = 8

acsConnect Status = Connection to host gs-oacs.gatespace.net(67.63.68.229):80 failed 110 (Connection timed out)(2)
cpeLockConfiguration( LockCnt=1)
WanIF up eth0 192.168.9.26
Unable to find default route interface name

When I contacted Gatespace.com, I was told that it was some kind of iptables problem. Can I get some help to fix this problem? Through browser, I could connect to the site I was asked to do, but the CPE software doesn't.
 
Old 03-29-2009, 11:44 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,778

Rep: Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625
Quote:
Originally Posted by vsanandan View Post
I am running an CPE (customer premises equipment) application software in my Linux system and trying to connect to an ACS (both from Gatespace.com).My CPE s/w that tries to connect to ACS reports like this:
./cwmpc -d -v -D 0x3 -w eth0 -l eth0
WanIF up eth0 192.168.9.26
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.11.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.10.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.9.
Create Instance: InternetGatewayDevice.Layer3Forwarding.Forwarding.8.
Create static instance: InternetGatewayDevice.LANDevice.1.
Create Instance: InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.IPInterface.1.
Create static instance: InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.
Create static instance: InternetGatewayDevice.WANDevice.1.
SIOCADDRT: File exists
system("route add default gw 192.168.9.1 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 192.168.9.0 netmask 255.255.255.0 dev eth0") (1792)
SIOCADDRT: File exists
system("route add -net 10.7.142.0 netmask 255.255.255.0 gw 192.168.9.1 dev eth0") (1792)
Data Model restored from config.save
Setting cipher list to SSLv3:RSAES:SHA+RSA:RC4:SAH+MEDIUM
SSL Client Certificate chain file /var/cert/client.pem not found.
SSL Certificate file /var/cert/server.pem not found. Server Certificate verification disabled
cpeLockConfiguration( LockCnt=1)
WanIF up eth0 192.168.9.26
Unable to find default route interface name
Connect to ACS at http://gs-oacs.gatespace.net/tr69/tr69.cgi

dns_lookup(gs-oacs.gatespace.net) = 67.63.68.229

closeConnection Discard
cpeUnlockConfiguration( LockCnt=0, changed=False)
ACS Disconnect: error 1
retry = 1 waitTime = 8

acsConnect Status = Connection to host gs-oacs.gatespace.net(67.63.68.229):80 failed 110 (Connection timed out)(2)
cpeLockConfiguration( LockCnt=1)
WanIF up eth0 192.168.9.26
Unable to find default route interface name

When I contacted Gatespace.com, I was told that it was some kind of iptables problem. Can I get some help to fix this problem? Through browser, I could connect to the site I was asked to do, but the CPE software doesn't.
First, what version and distro of Linux are you using? Also, this seems like a problem with the software from Gatespace. It seems like somewhere in their software, you have to tell it which network interface to use for a default route to the rest of the world, and it's not getting it.

Also, the messages seem like it's using the route commands from Linux, but they're failing since they're already there. Make sure there isn't another copy of the software running ("ps -ef | grep cwm"), and kill it if there is, then try to restart. You could also reboot the box, if that's easier for you, and see what happens.
 
  


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
IPTABLES: interface on "192.168.1.0/24" won't route clients from "10.65.0.0" zivota Linux - Networking 2 06-09-2008 01:35 PM
shorewall routing issue: "no route to host" from dmz spargonaut Linux - Networking 0 06-07-2007 10:09 AM
"Unable to find ndiswrapper interface" apurdy Linux - Wireless Networking 3 02-23-2006 11:04 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Permanently set "route add" -host and default gw sacants Linux - Newbie 1 07-18-2003 04:04 AM


All times are GMT -5. The time now is 01:58 AM.

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