vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I'm an experienced programmer new to Linux, and set up an old box (266MHz, 64M RAM) with an old Mandrake 8.0 CD I had lying around. The setup went really well, but at first it could not see my home network (Liksys router) at all. I swapped out the NIC card and removed some other peripherals that might have caused IRQ conflicts, and the box can now see the router, but can't see the internet at large. Also, the XWindow internet config program doesn't come up, so I'm assuming I have to use ifconfig - where is the config file for it, and should I assume it's called ifconfig.conf or is there another name for it? AFAIK, I'm using a fixed IP address of 192.168.1.105 (or whatever the prefix is: I'm not at the machine right now). Any help gladly appreciated. Thanks Jim Stanley |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Stanley wrote: > Hello, > > I'm an experienced programmer new to Linux, and set up an old box > (266MHz, 64M RAM) with an old Mandrake 8.0 CD I had lying around. The > setup went really well, but at first it could not see my home network > (Liksys router) at all. I swapped out the NIC card and removed some > other peripherals that might have caused IRQ conflicts, and the box can > now see the router, but can't see the internet at large. Also, the > XWindow internet config program doesn't come up, so I'm assuming I have > to use ifconfig - where is the config file for it, and should I assume > it's called ifconfig.conf or is there another name for it? ifconfig doesn't take a configuration file of any sort. It takes commandline options only. Read ifconfig(8) ("man 8 ifconfig") for details. Mandrake may (probably does) have a script that invokes ifconfig with the proper options for your network setup. /That/ script may take a configuration file. Take a look at your system documentation to see how it recommends you set up a network configuration. Or visit the Mandrake website and take a look at the documentation hosted there. You might also visit the alt.os.linux.mandrake newsgroup, and get some help there [snip] - -- Lew Pitcher Master Codewright & JOAT-in-training | GPG public key available on request Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCpl4jagVFX4UWr64RApJNAKDKF6Fj+ImEbNLDiDBPNa 4ZIItqEQCgh9y7 70szqwFEqQvaJMTMAfWZvXs= =m+Xn -----END PGP SIGNATURE----- |
| |||
| Lew, Thanks for the newsgroup tip. I've got it up and working, and managed to get Samba working so the other (Windows) machines can see it. Offhand, do you know how to get Samba starting automatically on bootup? Thanks again, Jim Stanley |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Stanley wrote: > Lew, > > Thanks for the newsgroup tip. I've got it up and working, and managed > to get Samba working so the other (Windows) machines can see it. Great news! > Offhand, do you know how to get Samba starting automatically on bootup? Yes and no. I can tell you the Slackware way, but I have to make an educated guess about how to manage it in Mandrake. IIRC, Mandrake uses a customized configuration of the KDE desktop, so - - log in as root - - K -> System -> SysV-Init Editor edit the startup scripts to enable the script that runs samba A better hint would be to suggest that you ask in the alt.os.linux.mandrake group, where they /do/ know how to do this :-) > Thanks again, > > Jim Stanley - -- Lew Pitcher IT Specialist, Enterprise Data Systems, Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed are my own, not my employers') -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFCqI4PagVFX4UWr64RAhPBAKC8ndezqU5cdCXik8HEck DCEIz7DwCfTzDw iweM4z6pNQ8113v8X8CQzck= =z3K0 -----END PGP SIGNATURE----- |
| |||
| On Thu, 09 Jun 2005 11:26:12 -0700, Jim Stanley wrote: > Offhand, do you know how to get Samba starting automatically on bootup? Have you looked in the Services section of the _Mandrake_ Control Center? |
| |||
| Bit Twister wrote: > On Thu, 09 Jun 2005 11:26:12 -0700, Jim Stanley wrote: > > >>Offhand, do you know how to get Samba starting automatically on bootup? > > > Have you looked in the Services section of the _Mandrake_ Control Center? No, but I will tonight, now that I know where to look! Thanks again. Jim Stanley --- and I have one more post which I'll put on a different topic.... |
| |||
| * Lew Pitcher <Lew.Pitcher@td.com>: > Jim Stanley wrote: >> Offhand, do you know how to get Samba starting automatically >> on bootup? > > IIRC, Mandrake uses a customized configuration of the KDE desktop, so > - - log in as root > - - K -> System -> SysV-Init Editor > edit the startup scripts to enable the script that runs samba > > A better hint would be to suggest that you ask in the > alt.os.linux.mandrake group, where they /do/ know how to do > this :-) Some of us read both groups. The Mandrake point-n-click way is to run 'drakxservices'. A quicker way to acheive the same thing is Redhat's 'chkconfig', which is included with Mandrake. # chkconfig servicename on ....would be enough. The chkconfig manual is straightforward, I suggest the OP read this first. -- Andrew Preater Linux user #238547 |
| |||
| "Jim Stanley" <jhs-dash-angl-dash-music.at@at.earthlink-dot.net> wrote in message news:d8aakr$bpf$1@domitilla.aioe.org... > Bit Twister wrote: >> On Thu, 09 Jun 2005 11:26:12 -0700, Jim Stanley wrote: >> >> >>>Offhand, do you know how to get Samba starting automatically on bootup? >> >> >> Have you looked in the Services section of the _Mandrake_ Control Center? > No, but I will tonight, now that I know where to look! Or look up the manual page for the "chkconfig" command, which is wky F*all* of those funky GUI's actually use behind the scenes. |
| |||
| On 06/09/05 20:26, Jim Stanley wrote: > Lew, > > Thanks for the newsgroup tip. I've got it up and working, and managed > to get Samba working so the other (Windows) machines can see it. > > Offhand, do you know how to get Samba starting automatically on bootup? > > Thanks again, > > Jim Stanley Put these lines in your /etc/inetd.conf file: ## These are to start Samba, an smb server netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd Ciao Giovanni -- A computer is like an air conditioner, it stops working when you open Windows. Registered Linux user #337974 <http://counter.li.org/> |
| ||||
| "Giovanni" <lsodgf0@home.net.it> wrote in message news:42A9335C.40901@home.net.it... > On 06/09/05 20:26, Jim Stanley wrote: >> Lew, >> >> Thanks for the newsgroup tip. I've got it up and working, and managed to >> get Samba working so the other (Windows) machines can see it. >> >> Offhand, do you know how to get Samba starting automatically on bootup? >> >> Thanks again, >> >> Jim Stanley > > > Put these lines in your /etc/inetd.conf file: > > ## These are to start Samba, an smb server > netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd > netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd No, that's how to run Samba out of inetd. This has several major flaws. 1: Most modern Linux and other OS distributions now use xinetd, which keeps its services in individual config files in /etc/xinetd.d/. 2: You have to run xinetd or inetd to use this sort of feature. 3: It doesn't let you turn on or off Samba without having to futz with the inetd or xinetd service. 4: No major OS distribution that I know of these days does Samba this way anymore, they use init scripts instead. There are some minor advantages to it, such as automatically restarting in case Samba gets slapped down, but the overhead of running all these daemons on a major Samba server is way too high to justify it. |