Internet connection via windows xp network (rj45 cable) on Linux
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Internet connection via windows xp network (rj45 cable) on Linux
Well I've summed it all up in the subject.
I've used to had a dialer, but the ISP has blocked the option of connecting from same username in 2 computers (the modem has 2 connections).
Anyway, Now I have to use to connect via XP-network.
Well Infact, it was quite simple thing in (my comp xp) all I did was open firefox + detect network settings automatically and bang. internet is on.
How can I do the same at my linux?
Little graph so you can understand
comp1 :
Windows XP, Direct internet connection --> On.
comp2:
Windows XP, connected to comp1 via network and got its internet access. --> on.
Linux Fedora FC4 (Boot Loader) : --> How do I set up this internet connection via comp1?
I assume that you have comp1 configure for internet connection sharing. This automatically configures the ethernet adapter you specified for the LAN with an IP address of 192.168.0.1. I assume the ipconfig output you posted was from comp1.
Configure comp2 for DHCP and set the gateway IP address to 192.168.0.1.
I've tryed those route stuff and then, when I switched cables to the direct connect to the internet cable via modem, it didn't want to connect
so I've done
ifdown eth1
ifup eth1
so far all good
done
cable-start
connected.
but couldn't surf somehow (none at all, not firefox problem but gaim didn't work aswell etc) although cable-status said that I'm connected.
I've done cable-stop
switched back cables
then tryed to add again the 192.168.0.1 as my gw (in route add) and it didn't work since "network is unreachable"
done ifdown eth1
then ifup eth1 and it couldn't resolv ip for it,
also after restart, I cannot set up the eth1 now... OH MY GOD
I've tryed those route stuff and then, when I switched cables to the direct connect to the internet cable via modem, it didn't want to connect
so I've done
ifdown eth1
ifup eth1
so far all good
done
cable-start
connected.
but couldn't surf somehow (none at all, not firefox problem but gaim didn't work aswell etc) although cable-status said that I'm connected.
I've done cable-stop
switched back cables
then tryed to add again the 192.168.0.1 as my gw (in route add) and it didn't work since "network is unreachable"
done ifdown eth1
then ifup eth1 and it couldn't resolv ip for it,
also after restart, I cannot set up the eth1 now... OH MY GOD
shall I format?
I can do ifup eth1 only when I'm directly connected to the modem.
but when I switch to the other computer, what shall I do?
To setup your internet connection via GUI
From the main menu:
Applications > system controls > Network Device Control
Select configure and click on edit in the control panel. Select DHCP. Since the XP box is acting as a DHCP sever the gateway and DNS info will be automatically updated on the linux box.
To setup your internet connection via GUI
From the main menu:
Applications > system controls > Network Device Control
Select configure and click on edit in the control panel. Select DHCP. Since the XP box is acting as a DHCP sever the gateway and DNS info will be automatically updated on the linux box.
And activate the device
when u say
Quote:
And activate the device
do u mean ifup eth1?
ifso, shouldn't I do the route add default gw 192.168.0.1? would it work?
There is button in the GUI configuration box that will activate the eth1.
Since the ethernet adpater is configured for DHCP the gateway should automatically be configured.
There is button in the GUI configuration box that will activate the eth1.
Since the ethernet adpater is configured for DHCP the gateway should automatically be configured.
This should be the easist method.
did it, but still no connection.
maybe cause i messed up my default gw :S
can\t connect directly aswell now cause he says "something is fishy with your route table"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.