LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slack box questions (https://www.linuxquestions.org/questions/linux-newbie-8/slack-box-questions-405862/)

Ab3n 01-20-2006 12:49 PM

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! ;)

tangle 01-20-2006 01:06 PM

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?

Ab3n 01-20-2006 01:29 PM

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.

Ab3n 01-20-2006 05:54 PM

Sorry guys, just thought of another question. How do I get my eth0 device to start at boot?

tangle 01-20-2006 06:37 PM

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.

Ab3n 01-20-2006 07:07 PM

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?

tangle 01-20-2006 07:26 PM

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?

Ab3n 01-20-2006 09:10 PM

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!

Ab3n 01-21-2006 05:35 PM

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?


All times are GMT -5. The time now is 12:26 PM.