View previous topic :: View next topic |
Author |
Message |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 6:56 am Post subject: home network ftp linux-> windows SLOOOOW |
|
|
Okay, i've searched around the forums and can't find an answer so here goes....
I have a home network with my two roommates, just plugged in to a hub, uplinked through a cable modem. I'm the nerd, i have gentoo, they have XP. I have an ftp server up and running (lotsa ripped tv shows and whatnot) for them to download from. My one roommate gets ~5mb/s transfer -- the other 30kb/s. I think the fast transfer is going directly to my comp, the slow one is going through our IP, which i am pretty sure caps uploads at the aforementioned 30k.
Is there anyway to setup XP to go directly through the hub to my comp? i'm not too bad with the computers, but networking is not something i've ever figured out. any help would be appreciated. thanks a lot |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ep98 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 08 Jul 2003 Posts: 232 Location: Bulgaria
|
Posted: Mon Nov 08, 2004 7:01 am Post subject: |
|
|
simply remove from the clients with XPSP2 - the microsoft smart firewall, and everything will be fine _________________ If u cant give advice, dont send the helpless to the HOWTO's way or Google.com way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 7:09 am Post subject: |
|
|
well, the firewall is turned off.
that is if you mean the one i get to when i right click on his connection and choose the advanced tab where the microsoft firewall is.
still getting the slow speed.
btw is there a diff address than the one over the net used for home use. i.e. my global is 24.124.50.**, but is there a home one like 168.*.*.* or something? thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Krank n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Nov 2004 Posts: 5
|
Posted: Mon Nov 08, 2004 8:31 am Post subject: |
|
|
In those WinXP machines you could try the following in command prompt
Code: | route add aaa.bbb.ccc.ddd netmask 255.255.255.255 eee.fff.ggg.hhh metric 1 IF 1 |
Where aaa.bbb.ccc.ddd is the ip of your linux box and eee.fff.ggg.hhh is the ip of the XP. The "IF" is the identifier for network card. You can view routes with
If you want to make the route survive boot use -p option. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 2:33 pm Post subject: |
|
|
how do i get the identifier for the network card? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smutt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/8749066214198e4a4e3e35.jpg)
Joined: 23 Aug 2003 Posts: 51 Location: Utrecht, Netherlands
|
Posted: Mon Nov 08, 2004 5:27 pm Post subject: |
|
|
If I understand you correctly you just plugged a hub directly into your cable modem. That's probably a bad idea as it means your ISP now has to give you a seperate IP for each machine on your network. Are you sure you don't have a router or firewall device between the hub and the cable modem? Or maybe the cable modem or hub is itself acting as a router?
When you traceroute from WinXP to Linux what does it say?(tracert on Win)
Are both the Linux box and the WinXP box on the same IP subnet?(What are their IP's and subnet masks?)
Is there any kind of VPN or PPOE software running on the WinXP box?
Respond with answers and I'll get you sorted.
--Smutt |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Krank n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Nov 2004 Posts: 5
|
Posted: Mon Nov 08, 2004 5:32 pm Post subject: |
|
|
gives the nic IF value. Scroll up if it is not seen... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 6:30 pm Post subject: |
|
|
i'm heading home this afternoon and will perform as much as i can. also, i don't know if it's acting as a router, but we do have our hub plugged directly into the cable modem. thanks for the help so far. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 7:43 pm Post subject: |
|
|
tracert on windows machine gives
tracert 24.124.50.14
Tracing route to 14.50.cm.sunflower.com
over a maximum of 30 hops:
1 26 ms 10 ms 5ms 10.203.254.254
2 13ms 11 ms 12 ms 14.50.cm.sunflower.com [24.124.50.14]
Trace complete
on the other computer (the fast one) there is only one line, and the time is <1ms for the traces
ip of my linux machine
24.124.50.14
mask 255.255.252.0
windows box:
24.124.102.114
mask 255.255.255.0
should we be on different masks?
btw, the slow windows box is a fresh install, just drivers so far (and firefox ) also, probably any other spyware that's already gotten onto it. thanks for the help again |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
liber! Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Mon Nov 08, 2004 7:50 pm Post subject: |
|
|
No the masks should be the same.
Nathan, |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Mon Nov 08, 2004 7:56 pm Post subject: |
|
|
fair enough. how can i accomplish this? do i need some hardware (a router) and what am i looking at as far as cost? thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
liber! Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Mon Nov 08, 2004 8:07 pm Post subject: |
|
|
You could buy a cheap linksys or d-link router, i guess it cost now about 55⬠or something...
Or you could put in an extra network card in your pc and connect the internet with your eth0 and the hub with eth1 and setup iptables, so you're then the router.
Nathan, |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smutt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/8749066214198e4a4e3e35.jpg)
Joined: 23 Aug 2003 Posts: 51 Location: Utrecht, Netherlands
|
Posted: Mon Nov 08, 2004 11:21 pm Post subject: |
|
|
I would go for a Linksys or a D-Link as well. It's the fast and easy solution. If you wanna have some fun and have some time then you can roll your own Linux firewall
--Smutt |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kudude Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2004 Posts: 160
|
Posted: Wed Nov 10, 2004 6:52 pm Post subject: |
|
|
where would you recommend i get this piece of hardware, and is there any software setup or is it just the hardware? thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smutt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/8749066214198e4a4e3e35.jpg)
Joined: 23 Aug 2003 Posts: 51 Location: Utrecht, Netherlands
|
Posted: Mon Nov 15, 2004 9:11 pm Post subject: |
|
|
If you live in the USA just go down to your local Sprawlfaart, Worstbuy or Circuit Shitty and pick one up on the cheap. Your profile didn't mention what country you live in so I'm guessing.
This little box is extremely popular and you can hack it to run Linux if you want.
http://www.linksys.com/products/product.asp?grid=33&scid=35&prid=601
There are cheaper boxes of course but this one is good bang for the buck.
--Smutt |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|