Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: deadly7 on May 28, 2006, 02:40:52 pm

Title: Adding Linux [and Windows] to the network
Post by: deadly7 on May 28, 2006, 02:40:52 pm
Well, I don't know how to do this for Windows either.. so any help with that would be appreciated too.
--

How do I get it so that my computer running Slackware 10.2 with whatever kernel it came with on the CD is part of my network and I can simply transfer files over at the speed my router lets it?
Title: Re: Adding Linux [and Windows] to the network
Post by: Eric on May 28, 2006, 03:04:01 pm
Samba.
Title: Re: Adding Linux [and Windows] to the network
Post by: deadly7 on May 28, 2006, 03:13:45 pm
So I basically just run Samba on Linux and I can access Windows?
Title: Re: Adding Linux [and Windows] to the network
Post by: Sidoh on May 28, 2006, 03:50:30 pm
So I basically just run Samba on Linux and I can access Windows?

Yes.  Make sure to put Samba on the same workgroup that your Windows Machines are running on.
Title: Re: Adding Linux [and Windows] to the network
Post by: deadly7 on June 03, 2006, 02:20:46 pm
Uh.. Samba doesn't have a Slackware binary.  What do I download?

http://us5.samba.org/samba/ftp/Binary_Packages
Title: Re: Adding Linux [and Windows] to the network
Post by: Sidoh on June 03, 2006, 02:24:21 pm
You download the source and compile it...

http://us5.samba.org/samba/ftp/samba-3.0.22.tar.gz (I think)
Title: Re: Adding Linux [and Windows] to the network
Post by: rabbit on June 03, 2006, 02:39:15 pm
http://slackware.it/en/pb/search.php?v=10.2&t=1&q=samba
Title: Re: Adding Linux [and Windows] to the network
Post by: deadly7 on June 03, 2006, 03:19:31 pm
Thanks rabbit..
But when I do install it (su root , login with password, #installpkg samba-3.0.20b-i486-1.tgz) it says that it's launching the install script but it never does it.  wtf?
Title: Re: Adding Linux [and Windows] to the network
Post by: Joe on June 03, 2006, 06:59:57 pm
wget http://us5.samba.org/samba/ftp/samba-3.0.22.tar.gz
tar -xvvzf samba-3.0.22.tar.gz
cd samba-3.0.22
./configure
make
sudo make install
Title: Re: Adding Linux [and Windows] to the network
Post by: rabbit on June 04, 2006, 07:18:35 am
$su
Password:
#wget http://us5.samba.org/samba/ftp/samba-3.0.22.tar.gz
#tar -xvzf samba-3.0.22.tar.gz
#cd samba-3.0.22 && ./configure || make || make install

Consolidate the steps!
Title: Re: Adding Linux [and Windows] to the network
Post by: Newby on June 04, 2006, 12:03:36 pm
#cd samba-3.0.22 && ./configure || make || make install

Why the hell are you piping the results of configure and make? :P

# cd samsa-3.0.22; ./configure; make; make install; logout

Are you using csh or something? The only way I could see that working is if it did the step following the one before '||' if the one before '||' reported success, which sounds really neat in my mind.
Title: Re: Adding Linux [and Windows] to the network
Post by: rabbit on June 04, 2006, 02:30:30 pm
I do it in bash, and it works just fine.  If ./configure errors, make doesn't run, so make install doesn't run.
Title: Re: Adding Linux [and Windows] to the network
Post by: Newby on June 04, 2006, 02:37:09 pm
I didn't even know that worked. Hehe.

Quote
newby@impaler:~$ echo 1 || echo 2 || echo 3
1
newby@impaler:~$
Title: Re: Adding Linux [and Windows] to the network
Post by: rabbit on June 04, 2006, 05:49:04 pm
I dunno..works fine for me :\
Title: Re: Adding Linux [and Windows] to the network
Post by: Joe on June 05, 2006, 12:56:31 am
You meant to use && instead of ||, I think.

joe@foobar:~ $ echo 1 && echo 2 && echo 3
1
2
3
Title: Re: Adding Linux [and Windows] to the network
Post by: Ergot on June 05, 2006, 02:13:36 am
You meant to use && instead of ||, I think.

joe@foobar:~ $ echo 1 && echo 2 && echo 3
1
2
3

No... for him || doesn't continue on errors.