LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2009, 01:58 AM   #1
Waren_bg
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Unhappy 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 soo im trying to " sudo ipconfig eth0 up" but it says "sudo: ipconfig: Command not found"

Can anyone help me?

Last edited by Waren_bg; 01-31-2009 at 02:00 AM.
 
Old 01-31-2009, 02:36 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Waren_bg View Post
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 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
 
Old 01-31-2009, 02:56 AM   #3
Waren_bg
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 01-31-2009, 03:12 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Waren_bg View Post
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
 
Old 01-31-2009, 03:23 AM   #5
Waren_bg
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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 ?

Last edited by Waren_bg; 01-31-2009 at 03:28 AM.
 
Old 01-31-2009, 04:40 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Waren_bg View Post
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

Last edited by jdkaye; 01-31-2009 at 04:43 AM.
 
Old 01-31-2009, 04:44 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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
 
Old 01-31-2009, 04:58 AM   #8
Waren_bg
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 01-31-2009, 05:35 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Waren_bg View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting on to the Net in Linux, like I do in Windows resetreset Linux - Networking 3 05-27-2008 04:50 PM
Windows to net through linux box hate29 Linux - Networking 7 11-13-2007 02:17 PM
Sharing linux in windows! justsimran Linux - General 4 03-07-2007 12:33 AM
Linux to win net sharing Ember_666 Linux - Networking 2 07-27-2003 08:22 AM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 08:00 AM


All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration