can someone help me to set up my system to route my cable line to another computer, much appreciated if someone would be able to be of assistance.
I’m afraid you’ll have to be just a tad more specific. You haven’t told us anything, really, except that you’re trying to route “some cable” from “somewhere” to “elsewhere”. I agree that less is more, but only to a certain point …
so i just want to connect another computer to the internet through my suse box. i need help to configure the ethernet card so can allow the other computer access(linux connected via onboard ethernet port to cable connection)
Use IP masquerading (known in windows as ICS). Tutorial here:
openSUSE ICS: Internet Connection Sharing (Linux IP Masquerading) with Suse or Windows Servers
would it be possible to configure this D-link router to work then in the future if i add another machine i can do it through that becoz i want to connect a playstation 3 to the internet and the only way i’ve been able to get this to work before was with the dlink routher (D-Link DI-704UP)
how do i start the ethernet card now i’ve configured it manually beacoz its set to start when booting though i cant restart my computer after i turn off after i’ve installed it wont boot so itz been on for a week lol
thanx much for the link v helpfull…
I can’t understand what you mean. It all runs together. My best guess is that you want to run your Internet device (e.g. broadband modem or whatever) into a router and then connect the various machines via Ethernet or wireless links to the router. If that’s what you mean then the answer is “yes”.
Open a console and enter “su” to get rootly power. Then enter this to turnm the card on:
ifup ethX
and this to turn it off:
ifdown ethX
You have to figure out what ethX is (like eth1 or eth2 or …etc). You can do that by studying the output from this command (once again as su user):
ifconfig | grep Link
alrity so yes i have the router a dlink di-704up if itz possible to have this working then connect any network connections to that it would be great… atm i’ve assigned a static ip address to eth1 (pci ethernet) n then assigned the same address via tcp/ip preferences on my windows xp machine n still cant get online ??? anny suggestions much appreciated
if i want to connect my playstation to the connection do i need to use the switch ?
All I can offer in response to your pm are some general thoughts . . .
So your machine that is the server has 2 ethernet ports, and you are using a cross-over cable to connect the client to it.
IIRC you have to enable ICS as a service in Windows.
The IP address setup is different between server and client. In @swerdna’s example, the server’s address is 192.168.5.100 and the Windows client’s address is 192.168.5.2. The client’s gateway is the server’s IP, in this example, 192.168.5.100; this is the critical piece that enables the client/server connection. The subnet must be same, and of course be what is also set up in the router.
Whether you need to specify DNS addresses depends on the Router; some do DNS translation back to the clients in which case you can use the router’s address for the DNS. Otherwise you need to do as in the example, use the ISP’s address(es) as configured in the router.
Until you get it working, turn off all firewalls. Furthermore, since the Linux and Windows firewalls are incoming port firewalls only (i.e., not outbound or application), and D-Link routers already have an inbound stateful-packet-inspection firewall, there is no need for the OS firewalls; they are redundant. An application firewall is a different matter; on a Windows machine there should be such a firewall but that is a 3rd-party product. If you have such a firewall, turn it off until you get this working. And of course you should never have 2 firewalls turned on in the same machine.
Test the client first connecting it to a port in the router’s switch. Use the same gateway as the server, but the client IP you intend to use. Once this has been verified, switch the cable, change the client IP as above, reboot the machines, and test.
For testing the connectivity, do not use url’s; use IP addresses with the ping command in a terminal. First between devices and the router, then between the server and client. For the WAN, ping a url like Yahoo!, note the reply address, and ping that.
I have no experience with a Playstation, so can’t comment on its connectivity or configuration.
The Router’s switch has 4 ports. It would be much easier, and you would get better performance, by simply connecting all devices to the router. Note that you can expand the number of ports by attaching a hub; so a typical 4 port hub will give you 7 ports.
That’s all I can offer. @swerdna’s tutorial is very good, and so is the D-Link documentation. You should be able to get it working.
Yes, it is a simple deal to hook playstation 3 to internet through router. The router probably uses DHCP, or can be turned into a DHCP server. Is that model a wireless router? I just had a playstation 3 on the internet, via my wireless router, to do a rather large update. If you go to the network settings on the playstation, it can all be set up right there. Good luck.
I checked the specs on his router. Yes, DHCP. No, not wireless.
crap wat hav i done i followd all the instructions itz not working though
If you are using the router, you will have to look in the router to see the subnet you need to set static addresses to. If you have not turned off DHCP, I would first try to let DHCP set address and see if you can connect. If you are using your suse box as a router, make sure you can connect to the internet first, before starting. Are you posting these posts from the Linux box? If your ISP did not send you your router, it may need to be configured for your situation. The documentation with your router should tell you how to access the router, it is usually done through a web browser, or in some cases, telnet.
yes i’m using the router so i need to configure it first yes ? im posting from my linux box though my isp didn’t send me the router n i tried to configure already automatically via dhcp it wouldnt work ?
Suggestion: Look at @swerdna’s tutorial. See the setup screen shots for the server and the client? You have a network setup for 2 ports in the SuSE server, 1 for the Windows client. And then there is the setup for the router. Why don’t you take screen shots of what you have done and post those for example to imageshack? Then someone can look at your configuration.
You are continuing to make this much more difficult for yourself by not posting complete information (“itz not working” is impossible) and by not replying to suggestions made (for example, did you test the Windows client directly to the router first, as suggested before?).
One thing no one can check for you is the cable - it must be a cross-over.
im using the routher and an ethernet cable from eth 1 to the router then another ethernet cable from router to windows machine ? is that going to be okay ?
PC-to-router (switch, hub) = straight-through cable
NIC-to-NIC = cross-over cable
so im using the right cable i’ve got it configured like you said pc to switch via eth cable then another eth cable to windows machine
Grrrr! Did you read the article linked? They are different type cables.