View Full Version : Help Needed - Networking FC3 with XP no internet connection
abeurts
2005-04-05, 05:48 PM CDT
Recently I backedup my Home Dir to a CDROM before upgrading to FC3 when I tried to restore the Backup I got a message saying that the storage medium (cdrom) had some bad sectores therefore was only able to restore my /home directory partially. So where I need help is to connect my Laptop Running FC3 to another Laptop Running XP so that I can attempt to read the corrupted cdrom onto and transfer the 500mb /home directory to my computer (linux laptop). I have never done any networking before. As far as I have gone is to connect my computer on a dsl or cable connection.
To accomplish this task I have the cat-5 cable to connect both computers via eth port or if easier both laptops have wireless cards.
Thank you very much
dutch_fedora
2005-04-05, 06:11 PM CDT
Well first you need to set up Samba server on your FC3. You need to configure a share and user info on both so you can exchange info. Goto www.samab.org to get info on setting up Samaba.
abeurts
2005-04-05, 08:24 PM CDT
Hi Dutch, Thank you for your prompt response.
I went over the "samba website" instructions and configured samba on my machine as best I could and below is the result I get when I do the command < testparm smb.conf > :
[root@localhost samba]# testparm smb.conf
Load smb config files from smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[tmp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = MYGROUP
netbios name = ERIN
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
How do I set the IP addresses on both computers to make sure that they communicate between each other when connected by the cat 5 crossover cable ?
Thank you
dutch_fedora
2005-04-06, 07:58 AM CDT
OK next you need to set up your workgroup for your XP as MYGROUP as well; it is easier to find the system if they are in the same work group. Then you can use Konqueror to locate the XP machine as follows: smb:/ wil search for workgroups in your network. smb://MYGROUP should pull it up. SOmetimes it takes a few minutes to connect. I have not used a direct connect but it should work fine. I have found that XP Home is miserable @ networking but XP Pro is not. You should be able to pull the MYGROUP up on your XP box in the netwrok tab.
Set up for samba is best if it is simple. Here is my config that allows me to conect well with my XP Pro and FC 2 Laptop
[global]
workgroup = OFFICE
netbios name = LinuxBox
server string = lan server
security = share
browseable = yes
writeable = yes
host allow = 192.168.1.
[netfile]
path = /netfile
comment = network share
read only = No
writeable = Yes
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[usbdisk]
path = /media/usbdisk/
comment = Network Storage
read only = No
writeable = Yes
guest ok = Yes
It is a wide open service for my network, but it is only in my home so security in the network is not a concern. Might want to make sure your samab set up is nice and simple for the purposes you have.
Try your config out first and if you have problems trim it down like mine is as I know it works. Beyond that the troubles would be XP Home related. XP home is a pill to network with fellow M$ machines
BY the way how did you back up your /home file to move it to your new set up? I tried just copying my /home/dutch file to set back into my FC 3 setup and found that I could not. Errors and lost files. The onyl way it seems to do a proper back up is with a backup tool like Ark... all of this effort maybe for nothing if your back up effort was flawed.
Tuition is what I call my blunders, just so I won't cry so much. Ha!
Good Luck!
Quella
2005-04-06, 08:11 AM CDT
You could also restore the info onto your XP system (if windows will do a better job of recovery on the media than Linux) and just do an FTP, Secure FTP, Secure Copy, or Samba as a means of getting the data back over to the Linux box. I think Samba is this more difficult way of doing it. I would look at the FTP and Secure FTP options. It sounds like you are doing this on two local machines, so security of the data is not that important. The GUI ftp clients can copy over directories and structures. Just my thoughts.
abeurts
2005-04-12, 06:16 PM CDT
Hi Dutch - After trying to configure Samba got into trouble.
Everytime time I reboot my computer and after loging in with my eth0 cable on I get a prompt saying:
"COULD NOT LOOK UP INTERNET ADDRESS FOR S01060008744bb2c. THIS WILL PREVENT GNOME FROM OPERATING CORRECTLY. IT MAY BE POSSIBLE TO CORRECT THE PROBLEM BY ADDING S01060008744bb2c TO THE FILE /etc/hosts."
The it gives me two options = 1) LOG IN ANYWAY 2) TRY AGAIN
I am able to use my wireless connection and access the internet but I cannot connect to the internet with eth0 cable modem.
Probable causes :
1) HOSTNAME being assigned at reboot.
2) When trying to configure samba to communicate to Windows computer I set up a DNS - I really don't know -
I found something that might help to figure out the problem but I need your help - please
Below I list the contects of the dhclient.leases for eth0 and eth1 ( eth1 works fine)
interface "eth0";
fixed-address 24.85.238.244;
option subnet-mask 255.255.252.0;
option routers 24.85.236.1;
option dhcp-lease-time 94294;
option dhcp-message-type 5;
option domain-name-servers 64.59.144.18,64.59.144.19;
option dhcp-server-identifier 64.59.144.80;
option broadcast-address 255.255.255.255;
option host-name "S010600087448bb2c";
option domain-name "vc.shawcable.net";
renew 3 2005/4/13 09:43:20;
rebind 3 2005/4/13 21:34:45;
expire 4 2005/4/14 00:51:12;
}
lease {
interface "eth1";
fixed-address 192.168.0.103;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 604800;
option routers 192.168.0.1;
option dhcp-message-type 5;
option domain-name-servers 192.168.0.1;
option dhcp-server-identifier 192.168.0.1;
option domain-name "vc.shawcable.net";
renew 5 2005/4/15 16:06:48;
rebind 2 2005/4/19 01:48:27;
expire 2 2005/4/19 22:48:27;
Help will be greatly appreciated !!
Thank you
Alex
dutch_fedora
2005-04-15, 03:30 PM CDT
Sorry about the delay (was actually working this week)... first are you running a DNS? It seems that you are smb searching a DNS set up in your /etc/hosts/ that is not present i.e that long diatribe numeic (ha)... tune down your set up a bit and that should clear things up; use the setting I have sent over (previous post) and see if that clears up your problem. The eth0 is looking for something that appears to be missing, namely a location and you need it gone, or added to the /etc/hosts file. If you know what this number relates to then add it to the /etc/hosts file, otherwise back out some of the set up features on your /etc/samba/smbconf file
When eth0 sets up it looks for the conections set up in smb, if it cannot find them it gets caught. When caught it turns off, that is why you cannot conect with it...
Hope that helps.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.