SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm using Slack 9.0 and what to view shared files on a WinXP computer LAN'd up with this one, through a hub.
Running smbdclient -L arien returns: Connection to arien failed
Also nmbd does not start --- it writes this to /var/log/samba/log.nmbd:
[2003/09/25 00:01:58, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/09/25 00:01:58, 0] nmbd/nmbd_subnetdb.c:create_subnets(239)
create_subnets: No local interfaces !
[2003/09/25 00:01:58, 0] nmbd/nmbd.c:main(873)
ERROR: Failed when creating subnet lists. Exiting.
[2003/09/25 00:06:08, 0] nmbd/nmbd.c:main(795)
Further more, in KDE's local network browsing control module, the guided Lisa wizard says that "No network interface card was found on your system." This is the biggest load of crap I've ever seen, I obviously have a network card since I am connected to the Internet (using the adsl-start script) right now.
We are networked together through a hub, and the adsl-modem is also connected to the hub. My point is I am trying to view files shared by a Windows XP machine with my Slackware 9.0 machine and it just WON'T WORK. And from the nmbd log and the Lisa guided setup it looks like somehow something does not realize I have a network card in my system, despite the obvious fact I do.
In Windows, without any additional network cards and with the same setup I can view shares on the other WinXP computer. How do I do the same through Linux? And if the problem is that my network card is not being reconized by samba, how do I fix that?
If anyone needs any more log files/command outputs I will post those just tell me what to get.
I commented out the old contents of /etc/hosts and entered what you typed (however without the quotes since the old, automatically generated entries did not have quotes). Anyway then I rebooted and tried again and it didn't help.
HOWEVER, ifconfig gives me DIFFERENT output right after rebooting as opposed to what I posted above. The output is:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
The other (eth0, ppp0) entries ONLY appear after running /usr/sbin/adsl-start
Is that unusual?
Has anyone got this working, with a hub, one network card, a WinXP box, and a PPPOE adsl-connection (the adsl seems irrelevant to me).
My instinct tells me only adsl-start is reconizing my network card and NOTHING ELSE IS. However I could be totally wrong I have no idea.
I've spent several hours at this already but don't want it to become one of those things that takes months before you stumple upon the solution.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
It sounds like the "adsl-start" script is perhaps starting your network. I really don't know much about that, but from the original "ifconfig" output, I don't see a network address assigned to the eth0 card. That means the driver might be loading but the card isn't configured.
What is the ip adress and subnet mask of the Windows box you are trying to get to? Maybe we can assign an IP address on the same subnet to your eth0 and correct this.
Also, what does lsmod show both before and after running the "adsl-start" script?
My interpretation of this is that the ppp stuff is from pppoe, I have no idea what slhc is, and sis900 I know for sure is my network card driver. Notice it is initially marked unused.
And here is /etc/modules.conf:
alias char-major-195 nvidia
alias eth0 sis900
I'm in a university and my roommate is busy on his (the WinXP) computer so I can't get the ip address and subnet mask right now. Also, when connected to the Internet he has an IP address. Is that the important one or does he have a seperate, second IP address internally on our tiny network?
Anyway was there any useful information in the outputs of the commands above?
Also, I just upgraded to samba 3.0.0 (was first using 2.2.8a) and using 3.0.0 did not fix anything.
Yes I have run netconfig over a dozen times trying different things. However, when it asks me for different IP addresses and such I'm not sure what to type and generally accept the defaults.
My motherboard is an Elite K7S5A and w/ the onboard Ethernet... it's not actually a removable 'card'. It works in Windows and I'm on the Internet in Linux now so like we already said the adsl-start script reconizes it.
There was nothing interesting in all those outputs I posted? Has anyone else had this problem?
I don't really understand what the hell I'm doing when it comes to this so I don't know what to do next. I only ask others for help when I'm at my wit's end and can't do anything on my own or by reading. Also I'm considering compiling the 2.6.0-test6 beta Kernel. But I don't find compiling Kernels fun and especially a beta one. But maybe that would be a magical fix for some reason. It will be a last resort though.
To restate the problem, I'm trying to connect to a WinXP machine with samba and the logs and also the lisa wizard in KDE are telling me I have "no network interfaces" enough though I am connected to the internet.
Anyway this was a rambling long post but the point is: Yes I ran netconfig, what do I try next?
Thanks KevinJ so much for all the responses so far.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Well, what is confusing me is that when you run "ifconfig" there is no IP address listed there for eth0. That is not what you are supposed to see. You should see an IP addy and subnet mask.
I really don't know anything about this adsl script you are running or adsl in general for that matter. Its perhaps that this card is being used for some protocol other than IP I suppose? You say when you run "netconfig" you are accepting the defaults. Is that DHCP?
What are the network settings for your roomate's machine?
The WinXP Local Area connection listed a subnet address 255.255.0.0 and in netconfig I was accepting the default: 255.255.255.0. When I changed it to 255.255.0.0 it worked.
Or if that isn't what fixed it then instead of accepting 127.0.0.1 for my IP address in netconfig I set it to be the same as my roommates machine except the end of it was one lower (blah.blah.blah.188 instead of x.x.x.189). And now the machines see each other, and I can view his shared files, and all the stuff I wanted to do.
eth0 now appears after rebooting and running ifconfig -- and has a IP address and mask.
One thing I don't understand is the two machines each have TWO ip addresses. ONE for the Internet, and one for the local area network. How does that work? How does Linux (and Windows) know that one is for the internet and one is local. And when you ping the local IP how does it know not to ping the Internet IP address witht he same numbers? If you could point me to any documentation about this I am kind of curious.
But the bottom line is: Thank you, the problem is solved, even though I don't really understand what happened. lol
I believe the 2 IPs you saw one is your gateway which is the IP for the ADSL modem. The other IP is for your system, did you configure any static IP for any of the machine if yes then I think both machines are in different network, 255.255.255.0 and 255.255.0.0 thus when you change either one to be the same then you are able to see each other. I believe you ADSL modem has routing features too.