LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2006, 01:49 PM   #1
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Rep: Reputation: 15
Slack box questions


Hello all,

I am setting up a Slack 10.2 box and I have run into a few problems (none of which have anything to do with installing slack ironically). I am running Slack 10.2 with a default kernel on an old P2 400mhz.


1. I have successfully set up a samba server on my slack box, but am wanting to access the shares from places other than my house through the internet, but I have no idea if and how this is done.

2. I would like to connect my slack box to the internet, but it doesn't have wireless capabilities and is too far away from my router to connect via ethernet. I have a second router (Linksys wrt54g) which is connected to the slack box and have heard that I could put 3rd party firmware on it so that it can connect wirelessly to the router with the internet connection. Has anyone done this and if so could you show me the firmware used and a good how-to?

3. Lastly, I mainly interact with my Slack box via ssh and would like to be able to shut it down AND have it power off remotely. Whenever I tell it to shutdown it just hangs on "power off" and I know it has this capability as it was able to power off with Fedora Core 3. I found a thread about this in the Slack forum and I uncommented the "/sbin/modprobe apm" in /etc/rc.d/rc.modules but after three shutdown attempts, I still have to manually press the power button to turn it off!

Thanks a ton for the help!

Last edited by Ab3n; 01-20-2006 at 02:26 PM.
 
Old 01-20-2006, 02:06 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
1. Actually, I never connected to a Windows share with Slackware. You might want to try,
smbmount //<pc name>/<share name> //<mount>/<point> (I think that is right)
Or try,
mount -t smbfs -o username=<user>,password=<password> //<pc name>/<share name> //<mount>/<point>

3. Do you have apm set in your bios?
 
Old 01-20-2006, 02:29 PM   #3
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
Thanks for the reply tangle!

1. I don't think I was specific enough on the first question...I have a samba server on my slack box and I want to access the shares that are on my slack box from other computers through the internet.

3. I haven't actually checked it in the bios, I guess I just assumed it was set since it worked with FC3...I will have to check that when I get home.

Last edited by Ab3n; 01-20-2006 at 06:52 PM.
 
Old 01-20-2006, 06:54 PM   #4
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
Sorry guys, just thought of another question. How do I get my eth0 device to start at boot?
 
Old 01-20-2006, 07:37 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
I would not use samba to share files over the internet. I would use FTP if you need to read/write files (large files or numerous files) or scp if it is just the ocational files (read/write). Samba was intended for intranet not the internet.

If your NIC doesn't start automatically, how do you start it? If you have to enter modprobe <whatever>, look in the /etc/rc.d/rc.modules. There should be a line in there for your NIC driver.

If you are entering something like ifconfig eth0 <ip address>, try the netconfig program.
 
Old 01-20-2006, 08:07 PM   #6
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
Thanks again tangle!

So now I just need to figure out #2 and #3...I looked in the bios, but couldn't find a setting for apm though as I said it did shutdown and power off in FC3.

Also, (sorry for all the questions) when I set up my samba server I was told to set the samba workgroup to the same as my windows workgroup, however I have another set of computers (windows) attatched to the same network, but under a different workgroup...how can I get them to access the samba shares?
 
Old 01-20-2006, 08:26 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Can you see the workgroup that the Samba server belongs to when browsing from a PC in the other workgroup? If so, can you brouse the workgroup? What error messages to you get?
 
Old 01-20-2006, 10:10 PM   #8
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
Ahh, I just had actually type the network path into the address bar...

Still trying to figure out #2 and #3 though, thanks for you help!
 
Old 01-21-2006, 06:35 PM   #9
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
Just found a great how-to for question #2 here.

So last thing I need is to have my computer actually power off when I tell it to shutdown...any suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Something went boink on my Slack box Woodsman Slackware 12 02-03-2006 11:19 PM
FC2 + Slack 10 in one box perfect_circle Fedora - Installation 6 01-18-2005 05:46 AM
Slack on Sparc Box? bgriesi Slackware - Installation 3 01-07-2004 03:11 PM
Oh Yea, Slack 9 -Juke Box 320mb Slackware 0 09-03-2003 08:30 PM
need help setting up slack box as gateway Inix Slackware 6 06-13-2003 05:05 AM


All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration