Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ftp from Gentoo to Xbox? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Fri Jul 30, 2004 7:43 pm    Post subject: Ftp from Gentoo to Xbox? [solved] Reply with quote

How would I go about connecting to my xbox from Gentoo? I know how to do it in XP so it shouldn't be that difficult in Gentoo either, or?

Last edited by armakuni on Mon Aug 02, 2004 9:53 am; edited 1 time in total
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Fri Jul 30, 2004 7:51 pm    Post subject: Re: Ftp from Gentoo to Xbox? Reply with quote

armakuni wrote:
How would I go about connecting to my xbox from Gentoo? I know how to do it in XP so it shouldn't be that difficult in Gentoo either, or?

What protocols does xbox speak? Can it really do the real FTP protocol? Does it support the SMB (Microsoft's filesharing) protocol?

In the last case, you should emerge samba. Make sure you deactivate any useless USE flags (no pun intended) you don't plan to use. :)
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Fri Jul 30, 2004 7:57 pm    Post subject: Re: Ftp from Gentoo to Xbox? Reply with quote

armakuni wrote:
How would I go about connecting to my xbox from Gentoo?

There are a lot of ftp clients available. just try one. i'd suggest gftp (if you like an X client) or lftp (if you prefer a cli). any other ftp client should work, too.
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Fri Jul 30, 2004 8:28 pm    Post subject: Reply with quote

In windows XP i do:
set ip: 192.168.0.1
set subnet mask: 225.225.225.0
set gateway: 162.168.0.1
Then I use flashfxp to connect to the xbox via ip 192.168.0.2, user:xbox and pass:xbox.
I have both gftp and lftp but I don't know how I would go about changing ip and stuff like that...
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Fri Jul 30, 2004 8:32 pm    Post subject: Reply with quote

armakuni wrote:
I have both gftp and lftp but I don't know how I would go about changing ip and stuff like that...

What are you trying to do? Just change the IP of your Gentoo machine? It's documented at Gentoo Handbook -> Configuring your System -> Networking Information -> Configuring your Network

armakuni wrote:
Then I use flashfxp to connect to the xbox via ip 192.168.0.2, user:xbox and pass:xbox

Most Linux FTP clients accept a commandline parameter in the format 'username@host', so you can just use 'xbox@192.168.0.2', and it'll ask you for password.


Last edited by intgr on Fri Jul 30, 2004 8:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Fri Jul 30, 2004 8:34 pm    Post subject: Reply with quote

armakuni wrote:
In windows XP i do:
set ip: 192.168.0.1
set subnet mask: 225.225.225.0
set gateway: 162.168.0.1

Then your problem is not "which client" but "howto change the ip address"?

Well, as root:
Code:
ifconfig eth0 192.168.0.1

Then try to ping the xbox:
Code:
ping 192.168.0.2
(or whatever ip address your xbox has). If this works you should also be able to connect with an ftp client to the xbox.
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Fri Jul 30, 2004 8:46 pm    Post subject: Reply with quote

integor >> ok, I will have a look in the manual then.
I was thinking that maybe someone who had done this before could make it easy for me and explain exactly the steps I have to do to connect to my xbox, like "1. first do this and 2. then you have to do that...", because I'm not shure it's done the same way as in XP.


compu-tom >> Thanks! I will try that fisrt thing tomorrow. Bedtime here in Sweden :wink:
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Fri Jul 30, 2004 8:48 pm    Post subject: Reply with quote

armakuni wrote:
I was thinking that maybe someone who had done this before could make it easy for me and explain exactly the steps I have to do to connect to my xbox, like "1. first do this and 2. then you have to do that..."

That's exactly how the Handbook explains it :D

(To be strict, you shouldn't ask a question if you haven't read the documentation and tried solving it on your own)
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Fri Jul 30, 2004 8:55 pm    Post subject: Reply with quote

integor wrote:
(To be strict, you shouldn't ask a question if you haven't read the documentation and tried solving it on your own)


Ok, so I'm a lazy bastard, I admit :wink:
I'm still learning about the system and stuff and have almost configured everything I set out to by now, so I guess the reason I'm looking for straight answears is that I don't want to fuck up my connection to the net or something...
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Sat Jul 31, 2004 9:43 am    Post subject: Reply with quote

Without making any changes I tried using gftp to connect to the xbox (192.168.0.3 not 192.168.0.2 as I wrote before...). It connected and I could see the partitions. I could enter the partitions to see their directories but when I tried to enter them I got disconnected... :(

I tried manually altering my /etc/conf.d/net to what I use to connect when in XP :
Code:

iface_eth0="192.168.0.1 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"

but I get the same result.

I tried
Code:

ifconfig eth0 192.168.0.1
ping 192.168.0.3

...but to no luck. No ping.
Back to top
View user's profile Send private message
zimzum
n00b
n00b


Joined: 26 Jul 2004
Posts: 14

PostPosted: Sat Jul 31, 2004 10:01 am    Post subject: Reply with quote

you can use ifconfig to do this without having to keep changing your scripts. In fact you could easily make a bash script to switch that stuff up for you something like...

Code:

#!/bin/bash

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.0.1 up
/sbin/route add default gw 192.168.0.1


save that in a file like /sbin/Xbox and then chmod 100 /sbin/Xbox

I like ncftp for ftp under linux it supports resume very well and has a richly featured and informative commandline interface. If u emerge ncftp u can just add the following line and it will jump interfaces and login to the xbox immediately..
Code:

/usr/bin/ncftp [ -u username -P portNumber] host


my 2 cents..
zim
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Sat Jul 31, 2004 10:45 am    Post subject: Reply with quote

zimzum wrote:
you can use ifconfig to do this without having to keep changing your scripts. In fact you could easily make a bash script to switch that stuff up for you something like...

Code:

#!/bin/bash

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.0.1 up
/sbin/route add default gw 192.168.0.1


save that in a file like /sbin/Xbox and then chmod 100 /sbin/Xbox

I like ncftp for ftp under linux it supports resume very well and has a richly featured and informative commandline interface. If u emerge ncftp u can just add the following line and it will jump interfaces and login to the xbox immediately..
Code:

/usr/bin/ncftp [ -u username -P portNumber] host


my 2 cents..
zim


Thank you very much for the tip on the bash script!
Although changing ftp clients didn't do much difference. I still get disconnected from the xbox when changing directory... :(
Back to top
View user's profile Send private message
armakuni
n00b
n00b


Joined: 04 May 2004
Posts: 15

PostPosted: Mon Aug 02, 2004 9:52 am    Post subject: Reply with quote

zimzum wrote:
you can use ifconfig to do this without having to keep changing your scripts. In fact you could easily make a bash script to switch that stuff up for you something like...

Code:

#!/bin/bash

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.0.1 up
/sbin/route add default gw 192.168.0.1


save that in a file like /sbin/Xbox and then chmod 100 /sbin/Xbox

I like ncftp for ftp under linux it supports resume very well and has a richly featured and informative commandline interface. If u emerge ncftp u can just add the following line and it will jump interfaces and login to the xbox immediately..
Code:

/usr/bin/ncftp [ -u username -P portNumber] host


my 2 cents..
zim


I finally got it to work! I did exactly as zimzum said, but the only ftp client to pull it off was lftp. I tried and tried with gftp, ncftp, profxp... I don't know why it didn't work with other than lftp, but it doesn't matter now...
Thanks for your kind help!
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Mon Aug 02, 2004 1:40 pm    Post subject: Reply with quote

I'd recommend trying to turn off PASV mode in the clients you're using. I've had good luck with IglooFTP in gentoo, but I have had others work, as well.

I'd also recommend connecting to the FTP server built into XBMC, rather than the one in EvolutionX. I've had better luck with the XBMC server. Several other programs use the same server, so check the documentation on each program for which to try.
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum