| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 58081 | 2005-05-21 04:14:00 | [Linux] Networking for no0bs | Myth (110) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 357161 | 2005-05-21 04:14:00 | Hi all, I need help!! I am running FC3 on this computer, which connects to the internet via dialup. I have an XP Pro laptop that connects (via crossover cable) to the net through this machine (partner likes to play POGO games while Im browsing). I need to: a) configure my ethernet card (FC3 sees it as a VIA Technologies card which sounds similar to what Windows did, so I am picking the drivers are loaded ok) b) I need step by step setup instructions on how to configure the network (think of it as the idiots guide to networking Linux to Windows :p). I also have Firestarter installed, and all updates have been downloaded (yes I got there in the end (50+ hours of downloading and goodness knows how many MB :D)) p.s. if anyone (other than the nice mods of course) mentions smb or Samba, I am picking they will suffer a horrible end consumed by nightmares of a Windows-only world :p |
Myth (110) | ||
| 357162 | 2005-05-21 04:55:00 | samba (Runs away now) I have a simular setup except the the xp box is the gateway and the linux lappy connects through it (yes xp box is dailup also and the network is a cross over ) the linux lappy even iniates the dailout on the xp box if I open firefox on lappy and the xp box is hasnt already got a connection I think all you need to do is to set the gateway IP on the xp machine reflect the ip of the of the linux machine. Ill check my settings tomorrow when I get home and if there is not other response ill post them. It should be a simple matter to swapp the settings so that my lappy becomes the gateway |
beama (111) | ||
| 357163 | 2005-05-21 22:34:00 | <get back onto page 1 :)> | Myth (110) | ||
| 357164 | 2005-05-21 23:23:00 | First things first. Is the connection both ways ie can the two pc s ping each other and get a reply. If so great, if not we'll have to work on that first. I simply had to add the ip of the nix lappy as the gateway on the xp box to get the windoze to use the nix lappy as its gateway to the net. As far as Firestarter is concerned, I'm sure the default setup should be fine but you may have to add the windoze box IP as trusted connection. I think you said you are using FC3, Jen is a Fedora Core person lets hope she sees this thread. I manily use Debain based distro which maybe slighty different in the way things are done There are plenty of help forums dedicated to linux out there. The one I use when stumped is www.linuxforums.org (http://www.linuxforums.org) another good one is computing.net (http://www.computing.net) |
beama (111) | ||
| 357165 | 2005-05-21 23:30:00 | There is an easy to follow guide on how to setup ICS with your Fedora box being the gateway here: HOWTO: Set up a Gateway for Internet Connection Sharing (fedoranews.org) FedoraNEWS has heaps of excellent HOWTO article's that you might want to check out sometime. :) Fedora News Articles by Volunteer Writers (fedoranews.org) Contributing Articles from Fedora Community (fedoranews.org) |
Jen (38) | ||
| 357166 | 2005-05-22 12:02:00 | weeeeeeeeeeeeeeeeeeeeeeeeee! | hamstar (4) | ||
| 357167 | 2005-05-22 23:27:00 | ok, this is where I am up to... Followed the page (that Jen posted) on setting up ICS. My eth0 now is activated on startup, although I still have to activate the modem manually. I have been playing with smb.conf (found a howto smb) and I now have my network to the point where Linux gateway can see Windows machine, and access it using password. Windows machine can see Linux machine, but cant access it. A password screen comes up with < ; font-style:italic ; "> ; nameofcomp/username> ; font-style:italic ; "> ; already in the top row, and no password in the bottom. In the linux machine I have added the username (it won&apos ; font-style:italic ; "> ; t accept the nameofcomp/username format), and have given the username a password (which when filled in on the Windows screen just brings up the username/password screen again). If I take the nameofcomp out and just try the username and password (as it is in linux users, the nameofuser/password screen comes up again with the nameofcomp/username format. Any ideas? Here is the smb.conf (I found one online as there were no lines in my one when I went to edit it, and copied it, so its probably way wrong): ; font-style:italic ; "> ; /etc/smb.conf ; font-style:italic ; "> ; ; font-style:italic ; "> ; Make sure and restart the server after making changes to this file, ex: ; font-style:italic ; "> ; /etc/rc.d/init.d/smb stop ; font-style:italic ; "> ; /etc/rc.d/init.d/smb start [global] ; font-style:italic ; "> ; Uncomment this if you want a guest account ; font-style:italic ; "> ; guest account = nobody log file = /var/log/samba-log.%m lock directory = /var/lock/samba share modes = yes smb passwd file = /etc/smbpasswd workgroup = STATNET [homes] comment = Home Directories browseable = no read only = no create mode = 0750 [tmp] comment = Temporary file space path = /tmp writable = yes public = yes [statnet] comment = Statnet files path = /home writable = yes public = yes I want a folder in /home to be a shared network resource. Workgroup is called Statnet, comp name of this machine is supposed to be StatServer (how do I change it without losing localhost loopback (as I have been reading around on the net and some who change the name tend to lose loopback)? I have also set it so that both users home directory is /home in users and groups. Other user (from other computer) is listed as a user on this machine in users/groups. Oh and ICS doesn&apos ; font-style:italic ; "> ; t work, the other comp cant access the net through this machine This is all I can think of at the moment, Im sure I will remember more after I post this :S |
Myth (110) | ||
| 357168 | 2005-05-23 01:34:00 | With the above problem, does it matter if the linux partition is formatted as ext2 or ext3? Also, for some reason Synaptic won't load this morning :( |
Myth (110) | ||
| 357169 | 2005-05-23 07:10:00 | With the above problem, does it matter if the linux partition is formatted as ext2 or ext3?That doesn't matter at all . Also, for some reason Synaptic won't load this morning :(You mean the program just seems to hang? It does that ocassionally . You just need to kill it and then restart it . Use the keys CTRL-ALT-ESC and your cursor will turn into a skull and crossbones cursor . Just click on the window you wish to kill and it will shut down . Now, to your samba woes . I haven't used samba since FC1 as my network now consists of Linux-Linux only so I can't be too much help . One thing that did catch me out was the Linux Firewall . Turn off Firestarter while you are still doing the setup . I also got hooked up on the password box when trying to access Linux from Windows, and it was a easy fix . . . if only I can remember how . . . . :rolleyes: Not sure why your smb . conf appeared empty . I've put my default smb . conf up on ImageF1, so just right click here ( . neoburn . net/imagef1/files/smb . conf . txt" target="_blank">sal . neoburn . net) and select "save link as" . You will need to remove the extra . txt extension I added so that ImageF1 would accept it . The default smb . conf is well commented with examples, so it should help . |
Jen (38) | ||
| 357170 | 2005-05-27 09:42:00 | Ok, I currently can see both comps from each other, and have one folder shared :) Still working through the ICS issue, but that should be easy compared to networking (jus gotta learn iptables I think) I just wanted to thank the guys that helped out with ideas, and especially Jen :D Thanx again |
Myth (110) | ||
| 1 2 | |||||