Browsing this Thread:
1 Anonymous Users
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
On VMwAROS the TCP/IP stack is launched at boot, so it is surely running when stopnet is called.
Posted on: 2007/11/30 9:27
|
|||
|
p.bes
Icaros Desktop AROS distribution mantainer |
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
No! :nul: It would be alot easier to setup a network if you only had to tick the box!!
Posted on: 2007/11/30 4:18
|
|||
|
It's Brutal! -
AROS, "genetically engineering horses into a race of sunshine-farting unicorns." |
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
Wait. When I call stopnet without prior running startnet then I get the rexx error. This means you can only call stopnet when the TCP stack is running.
Posted on: 2007/11/29 19:57
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Tried also this. But nothing. RX says "RX: # object not found" and still doesn't kill the network. In the end I've decided to give up this minor issue, and just say people "reboot after you're don with config".
Posted on: 2007/11/29 19:54
|
|||
|
p.bes
Icaros Desktop AROS distribution mantainer |
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
If you open stopnet in an editor you'll see that it calls the rexx interpreter:
RX "address AROSTCP; KILL" ; Send "KILL" to the TCP/IP stack
I don't know yet why it fails. But you could write the line above directly in your script.
Posted on: 2007/11/29 19:49
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
I don't think so. If I look into ENV: files, they are correctly updated. Quote:
I've already tried wiating 3 and 5 secs before restarting the net, however without result. So I cut away the 'wait' command. The problem I furterly investigated, is that ConfigIP actually DOESN'T STOP THE NETWORK invoking stopnet. It's something I have already seen somewhere else: as you can see in VmwAROS S:, I had to create a script that changes the local directory to YAFS one and then launches it, 'cos if I tried launching YAFS directly from user-startup... well, it didn't start, complaining it couldn't find something I don't remember. I created a quick 'testnet' script in prefs and executed it: Quote: execute sys:Extras/Networking/Stacks/AROSTCP/S/stopnet and.. big surprise: couldn't launch arostcp 'cos another stack was already running. In practice, stopnet isn't doing its job as expected. I'd really like to know why.
Posted on: 2007/11/29 11:48
|
|||
|
p.bes
Icaros Desktop AROS distribution mantainer |
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Quote:
The SYS:Tools/Editor doesn't detach itself from CLI so the script isn't running until Editor quits. So imho the copy doesn't occur before saving. Quote: maybe chuck a wait [x seconds] in there before the startnet?? Indeed (to prevent possible problems if dos is still writing to the file when startnet is called)
Posted on: 2007/11/29 11:37
|
|||
|
Everyone knew it was impossible. Along came a fool who did not know and he did it.
|
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
I cant' believe the problem was so silly. And in fact the problem is not this one. Once I had corrected the files, the issue still occurs. Same behavior, launching startnet and stopnet from ConfigIP doesn't work, starting them from the shell works. Why? ![]()
Posted on: 2007/11/29 11:28
|
|||
|
p.bes
Icaros Desktop AROS distribution mantainer |
||||
|
||||
|
Re: ConfigIP - michal & other I need your help
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
as Ball000 has said, sys:c/edit doesn't exist, i noticed that it was the same in beta0.1, but still worked OK, so this does not refer to the problem you are having!!
I wonder whether it copies the stuff from envarc: to env: before the user has modified and then saved their config. (im totally unknown to the procedure here, if it waits for previous command to finish before proceeding) maybe chuck a wait [x seconds] in there before the startnet??
Posted on: 2007/11/29 11:26
|
|||
|
It's Brutal! -
AROS, "genetically engineering horses into a race of sunshine-farting unicorns." |
||||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.







