Posts tagged with unix

Annoyances between using command line vs GUI in Debian/Ubuntu

Fine, so sharing multiple formats that include reverse engineered file systems that are/were proprietary to creating new ones which are supposed to be just plug and play, is close to rocket science.

Well it would be if it worked in most cases. I'll give you a brief example:

This morning I decided I would take all my pc equipment, my drives, my CD drives, DVD drives, usb sticks, etc etc and on and. I would then try and make an efficient (efficient as can be with multiple Oses and multiple hubs, network cards running at various speeds, and a host of external hotpluggable hard drives, both SATA and IDE to test and see what was on them after the years and years of collecting.

In fact, I'm currently staring at a pile of about 8 SATA drives totaling about 3.5 TBs, and a stack of 12 IDES which god knows might even hit the 1.5 TB mark. NOw... having all of that working together in a more or less redundant method across the network (I figure its the perfect opportunity to brush up on my bash shell coding skills to do a plethora of things from managing all that data, checking how corrupt the disks are and somehow forecasting when its time to get rid of the problem kids, setting up a nifty search system that fits MY naming conventions, not some complex XMBC like system that tries to do everything, moves stuff around and then leaves you more lost than when u started)

Anyway, as always, I digress. This entry was really to complain about the STILL dire problems that the average user will have to share a set of files. First, of course, me being old school, I go to the terminal, set up my smbpasswd -u and set up his password. Perfect...

Then I open the file/s or directory/ies that I'd like to share, but of of course only Root can do that, so here comes problem number one... Do I know the name of the sharing program so I could run it using gksudo from terminal? Nope... bet you don't either.... hint: It's not nautilus.

Ok... Then I think, ah but wait, I can open it from the control panel, so I go to preferences -> Personal File Sharing and repeat the operation... Suddenly I'm bombarded with questions to do with blue tooth sharing, which is really not what I was after... I just wanted regular old samba to allow me to move files to and from my Oses with too many questions. But If go ahead and fill in all the questions, where there is no mention of sharing via samba or nfs or anything.

I right click on the directory I've now been trying to share for 10 minutes and the shre this folder tick box is ticked, and there 2 other options which I choose not to touch in case they influence the final outcome. I then click 'add share' and get the following message:
'net usershare' returned error 255: net usershare add: share name 'myname' is already a valid system user name'

So I think to myself, OK, so there is a conflict because I tried to speed up the process manually of creating a smb user and password which the system seems to be unable to parse (why? heaven knows... Has ubuntu decided to change the way samba details are stored too?"

Fine, I think to myself, let me use a different share name, say share, I then hit create share with a new name aptly named share and get an even more complex explanation on how to get this working. By this time I am starting to get amused (as I tend too, having been involved in the Unix/Linux/OSX worlds far longer than the MS world, you can see me slowly admitting to the n.1 argument that regular folks mention when using a Linux based machine for anything that slides over into a little bit of systems administration work.

I know, that, had a client been with me at this point it would be extremely difficult to convince them that Linux is in fact a better, more efficient and easier solution to set up than a multiple windows based system.

But 'not being one to give up easily, I continue the journey. This time I have the following sprawled across the screen:

'net usershare' returned error 255: net usershare add: cannot share path /home/nubae as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = false"
to the [global] section of the smb.conf to allow this.

Sooo.... away we go again, to command line and try adding that, hoping this will finally allow me to share the ONE directory. I restart the smbd service from the command line with service smbd restart (though admittedly, I'm still more used to doing a /etc/init.d/command restart.)

Trying to change any of the other tick boxes (allow others to create and delete files, or allow guest access) fails on the premise that permissions could not be changed for the directory nubae.

I decide to start from the very beginning, deleting the nubae directory, removing samba completely with --purge and giving a go from scratch in case I've missed something, but so far, you can imagine I'm grinning out of frustration more than out of anything else. I delete the whole user account from within the user setting visual GUI, to make sure there are no lingering side effects. And start again by creating the user through the GUI.

Vy recreating the account through the user settings control panel, I suddenly have no problems, even when it comes to sharing the account. It simply asks me if I want to install Samba and away it goes.

Now... if it had been obvious from the start that one can no longer touch the terminal without causing serious damage I wouldn't be so annoyed by this. But it seems like more and more, anyone with a terminal based systems administration background is being left in the dark, while Ubuntu developers and Canonical decide upon their own best practices.

This is not very different from what windows forces its users to go through, and it is yet another reason I am become more and more alienated by those who promise to stick to standards while secretly doing whatever they want without letting people know what is really going on.

I state this not as a newbie, but as someone that's been involved in development through countless areas of Linux, and never have I seen so much secrecy surrounding the introduction of new ways of doing absolutely fundamental things (adding users) without being told that if you use the terminal, you can screw up everything.

This is unacceptable. Either make things backwards compatible, or give an explanation somewhere on the new/right way of doing things. Making users jump through hoops is no way to get a larger user base, in fact, in my case, its made me actually start running XP along side Ubuntu... something I thought I'd never do....

sigh.... There is of course always OS X, which if I really have to be honest about... its the system of choice, if one has the money. Everything just works, it has a unix core so you dont have to feel like you are in unfamiliar territory, and it looks damn cool.

So the moral of this story is... Developers... please... work united to give people a unified experience that they can manipulate either in a format that has been charted out for them (we L(i)(u)nix people don't like that at all) or let us once more be free, and make the gui stuff work along side the true tried and tested command line environment configuration files. Its not that hard...

Any developer worth their salt will tell you that editing existing config files and making a gui that does the same is JUST as easy as doing some proprietary...

Rate It! (Average 0, 0 votes)



Netbsd Live CD and Gentoo 2009 Review


Netbsd Live CD/DVD


I was eager to try out this distribution as I'd heard great things about it and
it seemed like a fine new kid on the BSD block. Firing up the cd was simple
enough, and I was greeted with the typical $ prompt signifying a c shell
prompt. I bashed myself in by using the bash command and had a little more
legible prompt. From there, I had to kind of guess how to start up X and be
prompted with a workable desktop environment. I tried several things like
startx, gdm, startkde, etc. I got lucky with startx, which brought me to a
familiar xfce environment. I am no massive fan of xfce, but next to Gnome, it
is my favorite. The layout was nice, and there was an abundancy of essential
apps which any casual user would want. The glaringly missing item though was an
install to disk option. It seems netbsd live cd really is just that. A distro
run from cd, aimed at slower low end machines. This is fine, except it should
be made quite clear from the start with a splash page or something. Another
thing I really disliked, and this goes for all the XFCE run distros, was the
difficulty in finding out how to change my keyboard settings. I must have spent
a good 20 minutes looking for this. Again, this is where openSUSE and Ubuntu
shine. Both those distros have usability perfection. I would say that Ubuntu is
the simplest, but with its simplicity it looses a little of the real cutting edge
openSUSE now has.

Gentoo 2009

I used Gentoo many years ago, when Daniel Robbins was still heading up the
project. Back then it was my distro of choice. One could learn so much about
the inner workings of building an OS from the ground up, and it became the
foundation of my Linux knowledge. Now, in a gaklaxay far far away, Gentoo had
me wondering how it had progressed so many years later. Firing it up is easy
enough with the live cd, which is surprisingly based on the XFCE desktop. I
don't mind the xfce environment so much, other than sometimes it feels a bit
unpolished. It is clearly no Gnome or KDE with all its bells and whistles, but
it sure is a whole load faster and more minimal. I first tried the text based
installer, chose the partition I wanted to install it to, and then it told me
hte feature to mkfs the partition to ext3 was not yet implemented and I should
go to the command line and do that myself. That would be fine, but there were
no instructions included on that. This led me to look for further instructions
about installing Gentoo in general, but all the help files related to XFCE and
not to Gentoo itself. So... I led myself down the graphical install rabbit
hole, which seemed to work ok. It was both easy to use and pretty. All seemed
to be going wonderfully until it ended with ''your install has failed'', along
with a cryptic message saying this could be due to any number of reasons. The
log showed this, but I bet even a Gentoorian couldn't make sense of this:

"ERROR, couold not map"+device+"to anything in the device
map"

So that was it for my adventures with the gentle little penguin known as the
gentoo. Sabayon, it seems, has run circles around its old grand daddy. I mean,
ok, the live cd works, but thats about it... I remember seeing more intriguing
desktops back in the 90s.


 


Rate It! (Average 0, 0 votes)