LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help Sharing net Between linux and windows (https://www.linuxquestions.org/questions/linux-newbie-8/help-sharing-net-between-linux-and-windows-701173/)

Waren_bg 01-31-2009 12:58 AM

Help Sharing net Between linux and windows
 
Here's The deal Im a biG newB and my laptop (acer aspire one) has a linux Kubunto 8.10 on it ive managed to somehow install the Lan driver and now im tryng to share the net from my desktop Pc witch has a Win xp, Ive done everything on the windows so theres no problem there, But i can't Config my damn laptop to see that there is net on the wire :D soo im trying to " sudo ipconfig eth0 up" but it says "sudo: ipconfig: Command not found"

Can anyone help me?

jdkaye 01-31-2009 01:36 AM

Quote:

Originally Posted by Waren_bg (Post 3426965)
Here's The deal Im a biG newB and my laptop (acer aspire one) has a linux Kubunto 8.10 on it ive managed to somehow install the Lan driver and now im tryng to share the net from my desktop Pc witch has a Win xp, Ive done everything on the windows so theres no problem there, But i can't Config my damn laptop to see that there is net on the wire :D soo im trying to " sudo ipconfig eth0 up" but it says "sudo: ipconfig: Command not found"

Can anyone help me?

For starters you might try:
Code:

sudo ifconfig eth0 up
Cheers,
jdk

Waren_bg 01-31-2009 01:56 AM

Thanks for that cheers
But now what :( how can i tell it to get the following Ip 192.168.0.2 adn the sub net mask 255.255.0.0

jdkaye 01-31-2009 02:12 AM

Quote:

Originally Posted by Waren_bg (Post 3426991)
Thanks for that cheers
But now what :( how can i tell it to get the following Ip 192.168.0.2 adn the sub net mask 255.255.0.0

Wouldn't that go in your /etc/network/interfaces file?
jdk

Waren_bg 01-31-2009 02:23 AM

Jdk Thnaks for tha fasr replies

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


iface eth0 inet static
address 168.192.0.2
netmask 255.255.255.0
gateway 168.192.0.1

auto eth0


will this do

p.p. when i try to save the file (using kate) it says
the file /etc/..... could not be saved, check if you have write access or enough disk space

im thinking its the first and sorry if i am anoying but where can i get that access from ?

jdkaye 01-31-2009 03:40 AM

Quote:

Originally Posted by Waren_bg (Post 3427011)
Jdk Thnaks for tha fasr replies

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


iface eth0 inet static
address 168.192.0.2
netmask 255.255.255.0
gateway 168.192.0.1

auto eth0


will this do

p.p. when i try to save the file (using kate) it says
the file /etc/..... could not be saved, check if you have write access or enough disk space

im thinking its the first and sorry if i am anoying but where can i get that access from ?

You can only access /etc/network/interfaces as root or using sudo.

I'm not exactly sure what you're trying to do but to be on the safe side you should save a copy of the original interfaces file and then try your modifications to see if they do what you want. If the changes screw up your system you can just go back to the original interfaces file. All this must be done as root (or using sudo).

Cheers,
jdk

repo 01-31-2009 03:44 AM

why don't you use the build in networkmanager?
BTW, your ip's are wrong
Quote:

address 168.192.0.2
should be
Quote:

192.168.0.2

Waren_bg 01-31-2009 03:58 AM

Sometings Telling me im not doing it right
(sharing the net) thats what im tryng to do jdk but apparently im really stupid and don't know what im doing
if you got the will (and balls of steel) to guide me how to do it my skype is waren_bg

jdkaye 01-31-2009 04:35 AM

Quote:

Originally Posted by Waren_bg (Post 3427073)
Sometings Telling me im not doing it right
(sharing the net) thats what im tryng to do jdk but apparently im really stupid and don't know what im doing
if you got the will (and balls of steel) to guide me how to do it my skype is waren_bg

Hi Waren,
How are you connected to the internet? Do you have a router? Or can you get a router? If you're in a home environment, that would be the easiest way. You have a single internet connection with 2 machines (or more) right? Normally that's done with a router, or am I missing something here.
cheers,
jdk


All times are GMT -5. The time now is 11:27 PM.