Unable to access network connection in SAM460ex with OS4.1 U

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Unable to access network connection in SAM460ex with OS4.1 U

Post by WeiXing3D »

As the subject line says I'm unable to open and use my newly created network connection, so everytime I re-boot my computer I have to modify the same.

Right after booting I get an error message lodged at the top of the screeen reading something like: Tue Nov 12 17:43:19 2013 [error]: Could not add route from "DEVS:Internet/routes", line 4 (Network is unreachable).

In orer for me to be able to connect I have to go to SYS:Prefs/Internet and edit or modifythe connection I created. Once I'm done and click save a new window open saying Internet Prefereneces (TCP/IP). Network interfaces have been assed, removed or modified. Do yo want to restar the TCP/IP stack now? Note: This will shutdown all your network connections but may also fail in which case you should reboot your computer. Then another screen a the top of the sceen opens up with the same error message in the secon paragraph here.

When I click save a new Internet window opens called Internet and it says:
Trying interface "Name of my configuration"
Interface "Name of my config." configured, address = 192,XXX,X,XX, network mask = 255.XXX.XXX.X
Added default route to 192,XXX,X,XXX
Added domain name server 192,XXX,X,XXX
Interface "My name" address 192XXX,X,XXX has been leased until 13/11/2013 17:52 and will be renewed before it expires.
AddNetIntreface: Unknow keyword "ppoe" in line 5 of "DEVS:NetInterfaces/PPC460EX_ETH_old1"
AddNetIntreface: Unknow keyword "ppoe" in line 6 of "DEVS:NetInterfaces/PPC460EX_ETH_old1"
AddNetIntreface: Unknow keyword "ppoe" in line 7 of "DEVS:NetInterfaces/PPC460EX_ETH_old1"
AddNetInterfaces: Could not configure interface "PPC360EX_ETH_old2" (File name too long)

Then when everything stops I close the windows that were open, launch OWB and Internet works. But I have to do this everytime I boot or reboot.

How can I fix this?

Thanks in advance for any help.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Unable to access network connection in SAM460ex with OS4

Post by Raziel »

Obviously you have messed up your ethernet config file :-)

Go to "DEVS:NetInterfaces/"
Delete every file in there

Open Internet prefs
Go to "Interfaces"
Click on "New" --> there shouldn't be any entries there yet

Name it what you like
Choose your device from "Devs:Networks"
Leave everything alone, except
"Try dynamic configuration (DHCP)"
Put your router address as hostname
USE

SAVE

you might have to reboot.
"Normally" it should just work like this

(Although i have to admit that my XE is acting up aswell, it's connected to the third LAN port of my four port router and loses connection on every reboot)

Hope we can get this fixed

EDIT: typos and added Network-Startup

Also you gotta make sure that your Network-Startup is called in startup-sequence, like so

Code: Select all

If EXISTS S:Network-Startup
  Run >NIL: <NIL: *>NIL: Execute S:Network-Startup
EndIf
and your Network-Startup should at least have this line in it

Code: Select all

AddNetInterface QUIET DEVS:NetInterfaces/~(#?.info)
This way your miggy does not try to reach the net before the network is up
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Re: Unable to access network connection in SAM460ex with OS4

Post by WeiXing3D »

@Raziel
Unfortunately, nothing has changed, with the exception that now I only have a text file wit my network configuration:
# DEVS:NetInterfaces/MyName
# File generated by Internet 53.2 (27.9.2009)
# On Wednesday, 13-Nov-13 at 10:32:23
device=ppc460ex_eth.device
hardwaretype=Ethernet
configure=dhcp
id=192.168.x.xxx
mtu=0


Oh, by the way: Besides this, I'm still getting the same error message at startup, so I have to modify my existing network connection to be able to connect to Internet. The message is: {error] : Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable)

Any other ideas? :?:
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Re: Unable to access network connection in SAM460ex with OS4

Post by WeiXing3D »

@Raziel and others

So this is where I stand right now:

1. I still get {error] : Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable) when booting up or restarting
2. I still have to edit or modify my netwrok connection to be able to connect to Internet. After clicking Use then Save, I get an Internet output window saying:
Waiting for networ to shutdown... shutdown finished.
Interface "NetworkName" added.
Trying interface "NetwrokName" configuration...
Interface "NetworkName" configured, address = 192.XXX.X.XXX, network mask = 255.XXX.X.XXX
Added default route to 192.XXX.X.XXX.
Added domain name server 192.XXX.X.XXX.
Interface "NetworkName" address 192.XXX.X.XXX has been leased until 14/11/2013 12:33 and will be renewed before it expires

Then some the [error] Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable) appears a second time. After closing all windows, I try OWB and I connect.

What can I do next?
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Unable to access network connection in SAM460ex with OS4

Post by Raziel »

Could you get rid of that "mtu=0" and try again?
You can just remove it with notepad and reboot

Just a shot in the dark but it may cause problems
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Re: Unable to access network connection in SAM460ex with OS4

Post by WeiXing3D »

Raziel wrote:Could you get rid of that "mtu=0" and try again?
You can just remove it with notepad and reboot

Just a shot in the dark but it may cause problems
This didn't work. I'm still getting: [error] Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable)
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Unable to access network connection in SAM460ex with OS4

Post by nbache »

WeiXing3D wrote:This didn't work. I'm still getting: [error] Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable)
Since the error merssage points there, maybe you could post your DEVS:Internet/Routes file here? Perhaps we can spot the mistake.

Oh, and don't bother obfuscating your internal IP addresses and netmask with XXX etc. They are most likely the same as most of us use ourselves, and since they are local to your network and can't be addressed from elsewhere, there's no risk involved. But a chance that we could spot some error there as well.

Best regards,

Niels
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Re: Unable to access network connection in SAM460ex with OS4

Post by WeiXing3D »

nbache wrote:
WeiXing3D wrote:This didn't work. I'm still getting: [error] Could not add route from DEVS:Internet/routes", line 4 (Network is unreachable)
Since the error merssage points there, maybe you could post your DEVS:Internet/Routes file here? Perhaps we can spot the mistake.

Oh, and don't bother obfuscating your internal IP addresses and netmask with XXX etc. They are most likely the same as most of us use ourselves, and since they are local to your network and can't be addressed from elsewhere, there's no risk involved. But a chance that we could spot some error there as well.

Best regards,

Niels
What I found inside the text file named "routes" is the following:
# DEVS:Internet/routes
# File generated by Internet 53.2 (27.9.2009)
# On Wednesday, 13-Nov-13 at 14:28:30
default=192.168.0.1

Is this what you are looking for? What else can I provide?

By the way, this is the complete log of my Internet output
Waiting for networ to shutdown... shutdown finished.
Interface "NetworkName" added.
Trying interface "NetwrokName" configuration...
Interface "NetworkName" configured, address = 192.168.1.254, network mask = 255.255.X.XXX
Added default route to 192.168.1.254
Added domain name server 192.168.1.254
Interface "NetworkName" address 192.168.1.254 has been leased until 14/11/2013 12:33 and will be renewed before it expires
User avatar
Rigo
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 360
Joined: Mon Jan 17, 2011 9:42 pm

Re: Unable to access network connection in SAM460ex with OS4

Post by Rigo »

Well, according to your DHCP configured interface, it looks like you need to change the default route to 192.168.1.1, like so:

# DEVS:Internet/routes
# File generated by Internet 53.2 (27.9.2009)
# On Wednesday, 13-Nov-13 at 14:28:30
default=192.168.1.1

You can do this with Notepad. Save and reboot.

Simon
WeiXing3D
Posts: 22
Joined: Thu Jul 12, 2012 7:40 pm
Location: U.S. West Coast

Re: Unable to access network connection in SAM460ex with OS4

Post by WeiXing3D »

@Rigo
OK, thanks. That cleared the error message, but now the Internet output windows says, in the last line:
AddNetInterface: Coudl not add route to 198.168.1.254 (Object exists)

AND Internet doesn't connect anymore.

But if I restored the DEVS:Internet/routes back to 198.168.0.1 I can connect to Internet....I'm very confused!

By the way, I just noticed that there in a Network Connection called Home.conn inside SYS:Internet/Connections/ I am not sure if that was created by the previous owner and if it may be causing some of my problem....?

What next please?
Last edited by WeiXing3D on Thu Nov 14, 2013 5:04 am, edited 5 times in total.
Post Reply