LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2003, 05:05 PM   #1
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
network?


i have a win xp box with the internet connection and a linux box without. i am trying to give the internet to linux? they are networked (cross over cable) but iam not sure if they see each other. ive been reading up about samba but getting no where. any ideas?
thanks
 
Old 05-01-2003, 05:24 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You won't need samba to do this. It is only for file sharing.

Do you have any link lights on the network cards?

Can you post the output of this on linux:
ifconfig (just the ip address netmask and gateway to save you typing)
route

and on windows:
ipconfig
route print

Feel free to mask your internet address with xxx.xxx.xxx.xxx but leave the internal addresses so we can see how the network is built.
 
Old 05-01-2003, 06:00 PM   #3
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Original Poster
Rep: Reputation: 30
yes i have have lights on the network and a green light is working on both of them.

[ipconfig]
ip address 169.254.141.15
subnetmask 255.255.0.0

[ifconfig]
command not found

i have rehhat 8 if that helps. why dont i have that command? its in the man pages
thanks
 
Old 05-01-2003, 06:09 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
you will need to be logged in as root.
Try:
/sbin/ifconfig

what about:
route (linux)
route print (windows)
 
Old 05-01-2003, 08:53 PM   #5
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Original Poster
Rep: Reputation: 30
[/sbin/ifconfig]

eth0
link encap:Ethernet HWaddr 00:05:1C:11:B6:64
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric1
RX packets:346 errors:1 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:70846 (69.1 kb) TX bytes:6498 (6.3 kb)

lo
link encap:Local loopback
inet addr:127.0.0.1 MASK:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8653 (8.4 kb) TX bytes:8653 (8.4 kb)


[/sbin/route]

Kernal IP routing table
Destination Gateway Genmask Flags Metric Ref UseIface
127.0.0.0 * 255.0.0.0 U 0 0 lo


[route print]
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 05 1c 11 d7 b4 ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - Packet Scheduler Miniport
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 219.88.59.55 219.88.59.55 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 169.254.141.15 169.254.141.15 20
169.254.141.15 255.255.255.255 127.0.0.1 127.0.0.1 20
169.254.255.255 255.255.255.255 169.254.141.15 169.254.141.15 20
192.168.242.10 255.255.255.255 219.88.59.55 219.88.59.55 1
219.88.59.55 255.255.255.255 127.0.0.1 127.0.0.1 50
219.88.59.255 255.255.255.255 219.88.59.55 219.88.59.55 50
224.0.0.0 240.0.0.0 169.254.141.15 169.254.141.15 20
224.0.0.0 240.0.0.0 219.88.59.55 219.88.59.55 1
255.255.255.255 255.255.255.255 169.254.141.15 169.254.141.15 1
Default Gateway: 219.88.59.55
===========================================================================
Persistent Routes:
None


i have nortons firewall if thats doing something to stop it?
thanks
 
Old 05-02-2003, 06:55 AM   #6
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Original Poster
Rep: Reputation: 30
i read some where that all you have to do is make linux a dhcp. or something and windows will assign linux ip? any thoughts anyone.
 
Old 05-02-2003, 07:40 AM   #7
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Original Poster
Rep: Reputation: 30
when i start up my linux box and linux is checking all the components it fails on the eth0. when i go into network configuation and activate the eth0 it always fails. thanks

Last edited by bm1; 05-02-2003 at 07:58 AM.
 
Old 05-02-2003, 01:47 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I would set your ip addresses manually as follows:

Windows:
IP = 192.168.1.1
subnet mask = 255.255.255.0
Gateway = 192.168.1.1
DNS = your ISP's DNS servers

Linux:
IP = 192.168.1.2
subnet mask = 255.255.255.0
Gateway = 192.168.1.1
DNS = your ISP's DNS servers

To set up your network on linux run:
netconfig

as root and fill out the values above.
You will then need to change your dial up connection on XP to "Allow other network users to connect through this connection".
 
Old 05-03-2003, 06:38 AM   #9
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Original Poster
Rep: Reputation: 30
david_ross is the man

thanks heaps i got it going you the man!!!!!!!!!!!!!!!!!!!!!!
bm1
 
Old 05-03-2003, 11:26 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Cool - glad its working for you!
 
Old 05-03-2003, 03:41 PM   #11
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
yea Windows XP has a built in ICS (internet conn. sharing) (DHCP) Server. Very simple to use. I have my XP box serving a few linux machines.

1. goto network neighborhood, right click > properties.

2. Right click on the connection you want to share, goto properties. Under advanced there is a Internet Connection Sharing area.
 
  


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
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 01:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 03:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 08:21 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 10:02 PM


All times are GMT -5. The time now is 03:59 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