joedj / ftpii

An FTP server for the Nintendo Wii
Other
52 stars 18 forks source link

Cannot connect: output 'Error accepting connection: No such device' #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open ftpii using homebrew channel
2. attempt to connect using Windows ftp command or Total Commander 7 ftp mode

What is the expected output? What do you see instead?
Unable to connect. Screen displays 'error acception connection: no such
device' and returns to homebrew channel

What version of the product are you using? On what operating system?
0.0.8 and 0.0.9

Original issue reported on code.google.com by thin...@gmail.com on 13 Jul 2008 at 7:07

GoogleCodeExporter commented 9 years ago
Interesting, I have heard of this happening for a couple of people.

Is there anything odd about your setup?  E.g. something plugged into USB ports, 
or
GameCube Memory Card slots?

Does it ever work, or do you always get this error?

Original comment by joe.goo...@psychlaw.com.au on 14 Jul 2008 at 1:26

GoogleCodeExporter commented 9 years ago
I always get this error. Nothing strange about my setup, everything standard, 
latest
update from Nintendo etc.

Original comment by thin...@gmail.com on 14 Jul 2008 at 5:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got this error too when i use v 0.0.10, I use an AirLink 101 USB 2.0 Ethernet
Adapter on Wii. If I use WLan to connect the Wii i got no problems with version
0.0.10. Is it possible that the LAN adapter is switched of, because of all LEDs 
are
off after start.
The adapter works too with the boot_nousb.elf in 0.0.9 zip.

Original comment by Felidae...@googlemail.com on 19 Jul 2008 at 8:21

GoogleCodeExporter commented 9 years ago
FelidaRex, I believe you are talking about issue 11
(http://code.google.com/p/ftpii/issues/detail?id=11) which is hopefully 
resolved in
0.0.11.

thinusp, your error sounds slightly different.  I am interested to know whether 
any
changes between 0.0.9 and 0.0.11 resolve your issue.  If not, how about the
boot_nousb.elf in 0.0.9?

Original comment by joe.goo...@psychlaw.com.au on 20 Jul 2008 at 9:21

GoogleCodeExporter commented 9 years ago
Suspect this is fixed at least in 0.0.11, cannot reproduce.  Closing as invalid
unless further info is presented...

Original comment by joe.goo...@psychlaw.com.au on 22 Jul 2008 at 3:53

GoogleCodeExporter commented 9 years ago
Sorry for the long delay, got caught up in other stuff.

Tonight I tried 0.0.13, with the same results. I got my hands on devkitpro to 
see if
I can't drill down to the problem.

Disclaimer: I'm not a c developer nor have I attempted any development for the 
wii,
so if I'm talking horse doo doo here, please forgive me ;)

ftp.c has a method called 'process_accept_events' from which net_accept is 
called.
The return value from net_accept is checked to see if it's smaller than 0. If 
this
condition is true, net_close() and die() is called.

--
if (peer < 0) {
            net_close(server);
            die("Error accepting connection");
        }
--

I dropped a printf just before this snippet and observed that peer = -115. The 
errno
variable is set to 19, which indicates "No such device" as per the original 
posting.

I hope this helps in finding this bug.

Original comment by thin...@gmail.com on 7 Sep 2008 at 9:50

GoogleCodeExporter commented 9 years ago
I am pretty sure the 'No such device' errno is just a leftover from some 
previous
call, nothing to do with the net_accept.

net_accept returning -115 is the interesting one :/

Original comment by joe.goo...@psychlaw.com.au on 8 Sep 2008 at 10:42

GoogleCodeExporter commented 9 years ago
i have absolutely the problem. 

first i tried to open a connection to ftpii v0.12 but i got the "error accepting
connection: no such device"-massage and a dropped out to HBC. afterwards i 
updated to
0.13 and still got the same problem.

my wii is connected via wifi to a german telekom branded router (t-sinus 111 
DSL) and
has a fixed ip-address. mtu is fixed to 1452. this is what my isp recommended. 

curiously nearly no hb which uses the wifi-inferface works properly. i tried
patchmii, cios installer, ftpii, and others.

and one of them prints out the -115-massage which was mentioned 1 or 2 posts 
above me. 

ftpii:
“read error -115 occurred, retrying”
“attempting to connect server”
“error creating socket, exiting”

and i am kicked back into hbc.

does anybody has an idea what the problem is.

thx a lot and sorry for my bad english

simon

Original comment by shemmerl...@gmail.com on 17 Sep 2008 at 11:30

GoogleCodeExporter commented 9 years ago
just one little addition. i installed cios and tried to downgrade to 3.2u. but 
when
my we tells me it starts to download the ticket i get "ERROR! (ret=-115)". 
looks like
the same error to me. i will try to switch the channel of my app and start all 
over
again.

Original comment by shemmerl...@gmail.com on 18 Sep 2008 at 12:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Having the same issue ("Error accepting connection: no such device") with 
0.0.14,
dropping back to Homebrew Channel. Nothing special at my setup, no modchip 
installed,
latest Nintendo update, nothing plugged into USB.

I've been trying FileZilla (Windows) and Windows built-in FTP, same effect. 
Getting
the error message right when I try to connect.

Original comment by julian.l...@gmail.com on 20 Sep 2008 at 6:12

GoogleCodeExporter commented 9 years ago
try to change yor wifi-channal to 1 or 11. didn´t solve my problem with ftpii 
but
solved it with homebrew browser and cios patchmii installer. maybe it helps.

Original comment by shemmerl...@gmail.com on 21 Sep 2008 at 2:19

GoogleCodeExporter commented 9 years ago
Any comment on whether this issue is still present with 0.0.17?  There have 
been some
changes to libogc's net_init amongst other things...

Original comment by joe.goo...@psychlaw.com.au on 2 Jan 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Assuming that this problem doesn't happen with 0.0.17 until I hear otherwise.

Original comment by joe.goo...@psychlaw.com.au on 7 Jan 2009 at 3:47

GoogleCodeExporter commented 9 years ago

Original comment by joe.goo...@psychlaw.com.au on 20 Dec 2009 at 4:09