Page 2 of 2

Re: very slow smb shares

Posted: Mon Aug 01, 2011 11:52 pm
by radioz
You probably just need to install it:
sudo yum install ethtool

Re: very slow smb shares

Posted: Thu Aug 04, 2011 6:36 am
by finalbillybong
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?

Re: very slow smb shares

Posted: Thu Aug 04, 2011 4:03 pm
by radioz
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).