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! I'm trying to install a samba network between my new RH9 linux and my old win98 boxes.
I've followed like 20 different setups step by step, but nothing works...
RIght now, I'm doing the O'Reilly book, for setuping samba...
I have the newest version (3.0) because my efforts with the old one failed too.
Anyway, when I try to connect to my Linux box from windows, the Network finds only one share (or what do you call them?), which is the Windows computer, It says so in the description I had written 10 min earlier, WIN98 - the win computer.
O'Reilly says I should use som e IP addresses and server names to modify some TCP/IP servers or to connect to the network manually, but how the heck do I know what my server name / IP address is???
i think uname requires a flag, certain flags display certain
information (like uname -r ) do a man uname to get
a list of the flags and what each does. I'd do it but im on a windows machine at work.
Just a little FYI...
Samba 3.0 is very much in the alpha stage. I played with it for about a month thinking it would do the trick.. No go. I would recommend sticking to the stable release of Samba. IF it doesn't work, it's probably due to something other than samba itself.
127.0.0.1 is a local loop IP address on every TCP/IP network capable PC. Same goes for localhost hostname.
Edit the /etc/sysconfig/network file to change the localhost.localdomain to something more meaningfull. Need to be root to edit file.
ifconfig -a should of displayed info on eth0 which is the setup of your network card. Use netconfig to setup your network card. Without networking the samba deamon will not start.
This is what it posts right now... however, I'm online, on ADSL, and that's what the network card is busy doing...
Do you think there will be a differennt output if I had the network card connected to the other computer's ? In that case I'll post the otherone
I assume that your ADSL connection is using pppoe? And the output of ifconfig will show some for pppoe.
I will assume that you only have one ethernet card. So since you don't have eth0 configured for pppoe sama will not start. I am for from a network guru but the DSL connection is using your eth0. You can use a single network card for multiple IP's.
So try this (as root):
ifconfig eth0:1 xxx:xxx:xxx:xxx netmask yyy:yyy:yyy:yyy up
Where x is your IP address and y is your netmask. Now try to start samba i.e.
smbd -D
nmbd -D
I think you've misunderstood me... I can start samba without any problems... The problem is that I don't think my two computers find each other...
and my eth0 IS configured for ADSL, but does that stop it from working with samba when ADSL is off??? I don't really know what pppoe is because I'm a n00b, but since internet works fine, it has to be configured...
and thirdly - I don't know my IP or netmask addresses...
What IP addresses have you configured on your machines? You can't use the IP you get from your ISP as, judging from the output you posted, it doesn't appear to be applied to the eth0 when you are using it.
You will need to manually select and configure IP addresses, in the same subnet, on each machine before they will even talk IP to each other, let alone SMB.
Configure 192.168.0.1 255.255.255.0 on the Linux box and 192.168.0.2 on the 1st win98 machine, 192.168.0.3 on the next etc, you get the idea.
Make sure you can ping from each machine to the others. Then start messing around with samba.
I would also get a second nic if I were you, so you have public and private networks, then setup firewall and NAT, makes things nice and secure.
ok.. thanks for the advice... but how do I configure IP's???
remember, I'm a total HOWTO-follower...
about firewalls and stuff - I don't think I'll be needing those, since both computers are mine, and I'm the only person in this home that is capable to connect a network...
also, what is a nic, and a NAT? subnets? sorry for being such an idiot...
and also... I've just reinstalled samba 2.2.7a with SWAT and everything...
but my NMBD won't start!!! It doesn't output any error messages or anything, it looks like it has started, but when I check, it hasn't...
can anybody plz help???
It will show that it is for 9.0, but the same info works in 9.1. Except for when you get to the point it ask you to open the program by going to Networking and then others. It will be in Remote Access for 9.1.
I installed the RPM...
The only problem I ran into is getting XP to connect to . I can't get the user I created during the installation or the root to work.... PLEASE.... Looking for help...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.