Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi again
Can someone tell me how to use samba to connect
a netbook(acer aspire one with backtrack 3 os) with
a pc(windows xp os) via network cable?
Thanks!!!!
i want to connet my netbook to my pc directly via lan canble to transfer files!!!
i dont have access to switch..
Last edited by linux_sonic; 12-02-2009 at 06:52 AM.
What do you mean by 'via network cable'? Do you want to connect your Acer to your PC directly using a cable? Or do you connect both computers using a cable to a switch?
Hi again
Can someone tell me how to use samba to connect
a netbook(acer aspire one with backtrack 3 os) with
a pc(windows xp os) via network cable?
Thanks!!!!
i want to connet my netbook to my pc directly via lan canble to transfer files!!!
You can transfer files from linux to windows setting up samba.
If you want to transfer files from windows to linux ,probably you don't need to set-up samba for this.
i want to connet my netbook to my pc directly via lan canble to transfer files!!!
If you want to connect both directly using a LAN cable you'll need a crossed one and not a straight one. Furthermore you'll have to configure both your NICs to use static IP and no gateway.
1. a cross over cable
2. setup networking between both machines, in windows goto network connection properties and then set the ip to 192.168.3.1 , netmask to 255.255.255.0. In linux edit/create the file for assigning new ip vi /etc/sysconfig/network-scripts/ifcfg-eth0:1 (this may differ based on your distro) and add the following:
IPADDR=192.168.3.2
NETMASK=255.255.255.0
do :x to save the file and then do ifup eth0:1
try to ping one machine from another, you might need to stop iptables on linux and windows firewall on windows.
3. then install samba on linux, yum install samba, yum install samba-client.
4. edit the samba conf file: vi /etc/samba/smb.conf . (just scroll down to the bottom and its self explanatory)
5. add a user to samba --> smbpasswd -a username
6. restart samba
7. goto windows start ---> run --> //ip of linux machine
8. ether samba user and password
and copy your files.
===============================================
another solution if you are copying your files from windows to linux.
install winscp on your windows machine (its free) and then just use your normal ssh user and password to copy files accross.
bye
Last edited by jschiwal; 12-02-2009 at 12:13 PM.
Reason: Please watch your languate drstupid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.