Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Linux/windows Network., Help Me Please!
Homer
post Dec 22 2004, 12:44 AM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 10
Joined: 21-December 04
Member No.: 1,834



Ok, I Have 3 computer In My House. I Had Them All Setup and Working Fine... But Now I Want to switch one of them to linux, but still share a connection.

Ok This Is How My Network Works....

1st Computer: Connection Computer:
2nd Computer: XP Box:
3rd Computer: Linux:

I Have The Network Up and running Fine, But I Have Tried To Put Linux On My Network Before.. And it couldn't connect to the net, share files, or anything..

Is There Something That i Have TO Config? Or What?


If you Know How TO Help Me... Please Do!
Go to the top of the page
 
+Quote Post
cryptwizard
post Dec 22 2004, 05:06 AM
Post #2


Member - Active Contributor
Group Icon

Group: Members
Posts: 77
Joined: 11-December 04
Member No.: 1,704



Please tell me your distribution of GNU/Linux so I can give you more specific instructions.
Make sure the installed kernel supports your network card, firstly.
If it was from a major distribution like FC/RedHat/Debian/etc. it should support it.
If it doesn't the best way would be to compile your own kernel, but i won't go into that here.

If you use DHCP:
Enter the command prompt and type:
CODE
dhcpcd

or if that doesn't work
CODE
dhcpd


If you don't:
CODE
ifconfig netmask eth0 <ip address>

Remember to replace <ip address>!

Post the result of those commands here, so I can tell you how it went.

Hope that helps.
Go to the top of the page
 
+Quote Post
unicykel
post Dec 29 2004, 03:48 PM
Post #3


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 20
Joined: 7-December 04
Member No.: 1,651



I you want to connect to windows share then use samba on your linux computer!!

but first of alle you need to bring ehternet up as cryptwizard said. smile.gif
Go to the top of the page
 
+Quote Post
qwijibow
post Dec 30 2004, 03:40 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



what is "connection computer" ?
is it a switch ? a router ? or a normal PC ?

if its a notmal PC, what OS is it running ?

is there a Local DHCP server on your LAN ?
if so, then rollow the instructions already given.

however if there is no dchp server on your network you will need to enter the netowork details manually.

in the network init script, or rc.local script (depending on your distro) you will need somthing like

[code]
echo "nameserver 192.168.1.1" > /etc/resolv.conf
ifconfig eth0 192.168.1.2 up
route add default gw 191.168.1.1
[//code]

repace the address's with the ip's of the services in your network.
if your gateway does not support a DNS server, then use your ISP's DNS servers.
Go to the top of the page
 
+Quote Post
intelboy
post Jan 8 2005, 09:13 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 12
Joined: 8-January 05
From: Argentina
Member No.: 2,054



My friend i sopouse that u hav internet on linux PC so it has the net card UP.
go to the config panel of ur linux distro look for rpm installer o somthing like install/uninstall app.
and then install the samba or SMB package to make ur linux visible on windows Network and viceversa.
I Hope this waas helpfull 4 u.
Go to the top of the page
 
+Quote Post
djraziel
post Jan 11 2005, 10:22 AM
Post #6


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 2
Joined: 11-January 05
Member No.: 2,097



As has been mentioned before install the samba program. It can be obtained from www.samba.org

If you are using an RPM based distro, or using debian then you should be able to find a binary installer for it rather than compiling from source.

If you are having troubles just getting your boxes to ping each other then the best solution would be to statically assign IP addresses so that you can determine the problem more directly.

In windows xp you can set a static IP address by entering my network places, then network connections, right clicking on the device that is connected locally to the lan and clicking properties. From there select Internet protocol (TCP/IP) and click properties.

I would suggest somewhere in the range of 192.168.0.* (Replace * with a unique number), Leave your subnet mask as 255.255.255.0

To correctly configure this in Linux, Type ifconfig. This will bring up a list of network interfaces. If there is only one in the computer then you will need to type ifconfig eth0 192.168.0.*

Then when this is completed, From the linux box, Try pinging the windows box by typing at the terminal shell "ping 192.168.0.(Enter number you chose for XP box)" If that works correctly then you have correctly configured your boxes and can start narrowing stuff down.

Note: If you are trying to get the Linux Box to see the internet, Most of the time the router's (Computer/Hardware device sharing the internet) ip address will be 192.168.0.1

If you want to get the linux box correctly configured you will need to use the linux "ifconfig eth0 192.168.0.* gateway 192.168.0.1" however this could vary from distro to distro so you would be best off to type "man ifconfig" and check whether this is the correct syntax.

Hope this helps
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. New Network(3)
  2. Linksys Wireless B usb network adapter lag problem(2)
  3. School Network(14)
  4. Dialup On Wireless Network(18)
  5. Sharing "domain" & "workgroup"(4)
  6. Sharing Files In Windows Xp Home(15)
  7. Network Storage W/o Router(7)
  8. Problem: Network Connection Fails Every 2 Mins(12)
  9. How To Connect Computers In A Wi-fi Network(10)
  10. Unable To Connect My Comp. To A Wireless Network(5)
  11. Network Domain & Network User Accounts(2)
  12. Listening To Music Over A Home Network(16)
  13. Help In Network With Windows 98 SE(6)
  14. Hacking A Network(18)
  15. Network Simulator(3)
  1. Won't Reconnect To Wireless Network Automatically Once Disconnected(7)
  2. Usb Lan Network Cards!(11)
  3. How To Keep The Internet Out From A Network ?(9)
  4. How Do I Create Static Routes In Windows Xp?(11)
  5. Linux Wireless Problem(3)
  6. Having Network Card Issues On A Dual Boot Laptop(4)
  7. Sharing Broadband Connection Between Mac And Windows(6)
  8. Advanced Network Questions(3)
  9. Networking With A Wireless Network Adapter(10)
  10. Extending A Wireless Network(2)
  11. Tracing Broadcast Storms(1)
  12. How To Setup An Vpn(1)
  13. Optimum Network Solution(2)


 



- Lo-Fi Version Time is now: 4th December 2008 - 11:45 PM