very slow smb shares

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: very slow smb shares

Postby radioz » Mon Aug 01, 2011 11:52 pm

You probably just need to install it:
sudo yum install ethtool

finalbillybong
Posts: 12
Joined: Mon Aug 01, 2011 3:44 pm

Re: very slow smb shares

Postby finalbillybong » Thu Aug 04, 2011 6:36 am

Thanks for the reply.

I get this output:

[admin@freenas ~]$ sudo yum install ethtool
[sudo] password for admin:
admin is not in the sudoers file. This incident will be reported.
[admin@freenas ~]$

How to I login as root or add admin to the sudoers list?

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: very slow smb shares

Postby radioz » Thu Aug 04, 2011 4:03 pm

Sorry, forgot that sudo was not setup by default.

Try:
su
<enter root password>
yum install ethtool


When you installed your hda you were prompted to create a root password.
If you want to use sudo, become root again and then edit /etc/sudoers

Find the line:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL

and add the following line just below it:
finalbillybong ALL=(ALL) ALL

Save the file.
Next time if you want to run a command as root, just use: sudo <command>
It will prompt you for your user password (not the root password).

Who is online

Users browsing this forum: No registered users and 0 guests