Debian crap

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
I'm a linux noob. I couldn't even install WGET without apt-get and someone had to tell me what apt-get did. It didn't stop me installing it on my home computer though.

I have a problem though. My kernel thing is old, and i need some libata5 patch because it wont read more than 130gb of my hard drives.

Can someone help me?

:)
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
download the latest stable kernel sources, bunzip2 them, configure them, compile them and install them. it hurts a bit, but you'll prolly feel better afterwards and your beard will get +1.
 

fatbusinessman

Fledgling Freddie
Joined
Dec 22, 2003
Messages
810
Another option, rather than jumping in the deep end with Debian, is to use one of the more friendly distributions like Fedora or SuSE - just a thought. Go for a paddle before you jump in...
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
I'd advise going through all the gentoo stages tbh. a fig for your user-friendly "I don't know what I'm doing but it seems to be working oh no it's not unix must be crap" nix-alikes :p
















;)
 

sibanac

Fledgling Freddie
Joined
Dec 19, 2003
Messages
824
learn linux useing slack, when you know slack you can use any distro and learn bsd in no time.
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
TdC said:
download the latest stable kernel sources, bunzip2 them, configure them, compile them and install them. it hurts a bit, but you'll prolly feel better afterwards and your beard will get +1.
I got as far as compiling it. It wouldn't make the file properly and gave me errors. I'd rather start in the deep end and find out that I'm going to drown or float, rather than waste time googling even easier answers for Fedora or something :)
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
you could also open up ssh on your firewall and let me into the machine for a look about. pm if you want, but be warned even I rock at failing miserably every now and then :)
 

sibanac

Fledgling Freddie
Joined
Dec 19, 2003
Messages
824
Clown said:
I got as far as compiling it. It wouldn't make the file properly and gave me errors. I'd rather start in the deep end and find out that I'm going to drown or float, rather than waste time googling even easier answers for Fedora or something :)
If you are realy serious about learning linux get "Running linux" from o'reily
Its the best book out there to build some competence.

The books says how things work, not the old if you do this that happens.
By the end of the book you will know how to solve problems and where to find more info if you cant solve it yourself .
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
Right, I reinstalled from the Sarge release of Debian. It came with an updated version of the kernel and now it detects my 160GB drives. Then I put Samba on it. And now I can see my /home/clown directory in Windows. Cool huh?

I'm gonna try and put an FTP server/client program on it, and a Bit Torrent program. Could some of you suggest good ones for me?

Thanks in advance.

Yours Sincerely,

Faithfully yours,

Me.
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
when you say these things do you mean program with a grafical interface or program that you run from a terminal box?

your debian box should come with an ftp client already. try typing "ftp" or ncftp" from the command prompt. as to servers a la ftp servers, it might be installed already and you have to "turn it on", or it might not. I'm not well versed in debian. there are several small and fact ftp daemons available. the standard (or rather, the standard back when I first discovered linux eons ago) seemed to be ws-ftpd. massive overkill tbh. go to www.freshmeat.net and have a look for your software.
 

Athan

Resident Freddy
Joined
Dec 24, 2003
Messages
1,063
TdC said:
when you say these things do you mean program with a grafical interface or program that you run from a terminal box?

your debian box should come with an ftp client already. try typing "ftp" or ncftp" from the command prompt.

Indeed ncftp is recommended, that or lftp.

as to servers a la ftp servers, it might be installed already and you have to "turn it on", or it might not. I'm not well versed in debian. there are several small and fact ftp daemons available. the standard (or rather, the standard back when I first discovered linux eons ago) seemed to be ws-ftpd. massive overkill tbh. go to www.freshmeat.net and have a look for your software.

Nooooooooooooo, not ws-ftpd. Use Proftpd. Comes neatly packaged in Debian. And in fact given it's Debian your FIRST step for installing anything is to do something like:
Code:
apt-cache search ftp client | sort
in an xterm/console/terminal/rxvt/aterm/whatever you use to type commands at a shell prompt. That will show you packages whose descriptions/keywords match what you searched for. If one looks likely then simply
Code:
apt-get install <package name>
i.e. 'ncftp' in this case (the ncftp2 is actually an older version with a different interface).

If you want to check what a package is in more detail before installing then simply
Code:
apt-cache show <package name>
. You might also want to see if you can get on with aptitude as a frontend for all this.

-Ath
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
Athan said:
Nooooooooooooo, not ws-ftpd.


heh indeed, I remember loads of crap going on about it :) deadrat linux had it as standard ftp server on board though :/ remember I'm talking 5 years back btw :)
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
Yay, I got the drives shared with my Windows machine.
Now I have a Windows problem.

I made a login script, a batch file, connecting the network drive.
Code:
net use X: [url="file://\serverhda"]\\server\hda[/url] password user:clown
I configured gpedit.msc to open that on login, but it's still asking me for my password for the drive when I reboot. Is this something to do with Samba, or is Windows being funky on me?
 

Gat_Decor

Fledgling Freddie
Joined
Aug 7, 2004
Messages
394
thats possibly because the syntax is incorrect for 'net use'

try

net use X: \\server\hda password /user:clown
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
Arr that's what it is. I just couldn't remember it at work :)
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
Code:
 #
   # /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
   # To really apply changes reload proftpd after modifications.
   # 
   
   ServerName			"ClownFTP"
   ServerType			standalone
   DeferWelcome			off
   DefaultRoot			/home/clown
   
   MultilineRFC2228		on
   DefaultServer			on
   ShowSymlinks			on
   
   TimeoutNoTransfer		600
   TimeoutStalled			600
   TimeoutIdle			1200
   
   DisplayLogin				    welcome.msg
   DisplayFirstChdir			   .message
 ListOptions					"-l"
   
   DenyFilter			\*.*/
   
   # Uncomment this if you are using NIS or LDAP to retrieve passwords:
   #PersistentPasswd		off
   
   # Uncomment this if you would use TLS module:
   #TLSEngine 			on
   
   # Uncomment this if you would use quota module:
   #Quotas				on
   
   # Uncomment this if you would use ratio module:
   #Ratios				on
   
   # Port 21 is the standard FTP port.
   Port				21
   
   # To prevent DoS attacks, set the maximum number of child processes
   # to 30.  If you need to allow more than 30 concurrent connections
   # at once, simply increase this value.  Note that this ONLY works
   # in standalone mode, in inetd mode you should use an inetd server
   # that allows you to limit maximum number of processes per service
   # (such as xinetd)
   MaxInstances			30
   
   # Set the user and group that the server normally runs at.
   User				clownftp
   Group				FTP
   
   # Umask 022 is a good standard umask to prevent new files and dirs
   # (second parm) from being group and world writable.
   Umask				022  022
   # Normally, we want files to be overwriteable.
   AllowOverwrite			on
   AllowRetrieveRestart		on
   AllowStoreRestart		on
   
   # Delay engine reduces impact of the so-called Timing Attack described in
   # [url="http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02"]http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02[/url]
   # It is on by default. 
   #DelayEngine 			off
   
   # A basic anonymous configuration
   
   <Anonymous /home/clown>
      User				clownftp
      Group			FTP
      AnonRequirePassword		on
   #   # We want clients to be able to login with "anonymous" as well as "ftp"
   #   UserAlias			anonymous ftp
   #   # Cosmetic changes, all files belongs to ftp user
   #   DirFakeUser	on ftp
   #   DirFakeGroup on ftp
    
      RequireValidShell		off
    
      # Limit the maximum number of anonymous logins
      MaxClients			10
    
      # We want 'welcome.msg' displayed at login, and '.message' displayed
      # in each newly chdired directory.
      DisplayLogin			welcome.msg
      DisplayFirstChdir		.message
    
      # Limit WRITE everywhere in the anonymous chroot
      <Directory *>
   	 <Limit WRITE>
   	   DenyAll
   	 </Limit>
      </Directory>
   
      <Directory /home/clown/Incoming>
 	 Umask				0111 0111
   	  <Limit DELE RMD XRMD>
   	   DenyAll
   	  </Limit>
     
   	 <Limit WRITE>
   	   AllowAll
   	 </Limit>
      </Directory>
      
   # Uncomment this if you're brave.
   # <Directory incoming>
   #   # Umask 022 is a good standard umask to prevent new files and dirs
   #   # (second parm) from being group and world writable.
   #   Umask				022  022
   #			<Limit READ WRITE>
   #			DenyAll
   #			</Limit>
   #			<Limit STOR>
   #			AllowAll
   #			</Limit>
   # </Directory>
    
 </Anonymous>
Why doesn't this bloody work? I just can't upload stuff or make directories without chmodding the folder to 777, which I shouldn't have to do. It gives me the following error:
MKD 1
550 1: Permission denied
XMKD 1
550 1: Permission denied
 

Athan

Resident Freddy
Joined
Dec 24, 2003
Messages
1,063
I'd hazard a guess that your login isn't in the group that owns the files. You WILL want to do a chgrp -R thegroup /home/clown, along with a chmod g+s /home/clown to make sure all new files in there are in that group. Heck, make that find /home/clown -type d -print0 | xargs -0 chmod g+s.

-Ath
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
the user clownftp or the group FTP will have to have write access to the directory /home/clown, or the relevant dirs in there. is that the case?
tbh I don't think it is a good idea to set an ftpserver's default dir to your homedirectory, but I have the idea that you won't be using it for anything other than ftp so I suppose it's ok in this case.
 

Clown

Part of the furniture
Joined
Dec 22, 2003
Messages
4,292
That worked. Gave people in the FTP group access, so chmod 775 could be used. I just made the user clownftp the owner of the /home/clown/Incoming folder. Is this bad?
 

Users who are viewing this thread

Top Bottom