/srv/irclogs.ubuntu.com/2012/01/29/#ubuntu-beginners.txt

newguyi was thinking of installing ubuntu onto a separate hdd, but how would i set my computer to give me the option of which os to launch on startup?01:10
benonsoftwarenewguy: When the computer boots up GRUB should disply a lost of OSes to choose from01:12
benonsoftware:(01:12
=== zeroseven01831 is now known as zeroseven0183
E3D3Where should I look for more key-bindings like 'Control-D' for terminal ? Shortcut-keys don't list them.06:57
JoseeAntonioRe3d3 You mean, copy and paste?06:59
E3D3No, those I know but I just want to find Control-D somewhere in a list, that must learn me more. I can't find any info about Control-D ?!07:01
zeroseven0183Is Gconf-Editor installed?07:01
E3D3zeroseven0183: Are you asking me ?07:02
zeroseven0183Yes E3D3. Sorry for not addressing you directly.07:02
zeroseven0183Have you tried looking for it in gconf-editor?07:02
E3D3np, No I didn't. Never thought about it & still don't know why but like to try. I be right back. Thanks07:03
geirhaE3D3: In a terminal, run   stty -a07:07
geirhaThe stty command queries the terminal's settings. You won't find those bindings in gnome's config.07:08
E3D3Yes :-)07:09
E3D3There's a nice list. I knew its no orphan. Why couldn't I find it elsewhere - or did I search so bad ?07:10
E3D3geirha: Thanks07:11
divyanshuplease help                         http://ubuntuforums.org/showthread.php?p=11648593#post1164859309:31
MobileDruifWhat did you want to know Guest?11:09
Guest11872So here is my problem...11:09
Guest11872I have bought a new HDD of 500GB what I want to do is make 3 partitions11:10
Guest118721st: Windows 7 (~80GB)11:10
Guest118722nd: Ubuntu (~20GB[Hope it would be enough])11:11
MobileDruifPlenty11:11
Guest118723rd: For Storing data11:11
MobileDruifAlright11:11
Guest11872For 1st no problem11:11
MobileDruifNo? ;)11:11
Guest11872After making the Windows install on an 80 GB primary partition which is NTFS11:12
MobileDruifIt's Windows ;) There's your problem...JK11:12
Guest11872Which File system should I use for Ubuntu?11:12
Guest11872Will NTFS be OK or ext3 will be better for the Ubuntu?11:13
MobileDruifI did a quick read-up on the subject, because I'm not really familiar with it.11:17
Guest11872Ok11:17
MobileDruifIt's not recommended, but there is a way to set it up: http://www.howtogeek.com/howto/35807/how-to-harmonize-your-dual-boot-setup-for-windows-and-ubuntu/11:18
Guest11872So whats your opinion?11:18
Guest11872Didn't get! Whats not recomended NTFS or Dual Boot?11:18
MobileDruifDisclaimer: attempt at your own risk, I will *NOT* be held liable for any loss of data11:19
MobileDruifMaking a shared partition11:19
Guest11872Ofcourse! why would I hold you responsible? ;D11:20
Guest11872What exactly is this shared partition and how to make it?11:20
Guest11872#ubuntu-in11:22
Culiforge10.04_3.2GHz Intel while looking at my system monitor, it appears my swap is not being utilized. It never goes above or below 12% while my physical memory utilization while tasking is in the 70-90% range... is this normal?11:34
Culiforgealso getting greyed out windows like the system is chugging too hard and needs to catch up..11:35
coalwaterfrom what i'v seen Ubuntu usually prefers the ram, as long as it's not totally full it wont be using the swap much11:35
coalwaterdo you have cpu usage?11:35
coalwaterhigh*11:35
Culiforgenever above 80% usually11:35
Culiforgeidles around 20%11:36
Culiforgeworking spikes around 40-60%11:36
coalwaterwell, does this happen every time? or just this time?11:37
Culiforgeno, it's pretty much constant...(ie, right now, not doing anything but irc, and firefox) system is idle cpu@20, physmem@80, swap@1211:39
coalwaterhow much ram do u have ? 2GB?11:39
Culiforgecurrently 512, got more coming.. they sent the wrong stuff11:40
coalwateri see, probably things will get better when you increase the ram, firefox tend to use a lil too much ram, so that might be the problem11:41
Culiforgewill be 2G when it comes.. but it seem that the system shouldn't be greying out windows like it is.. but I can see where it would mostly be a low memory issue..11:42
coalwaterthe greying out is like windows when it says program not responding and it all goes white11:42
Culiforgekinda like the system is trying to catch up11:43
coalwaterprobably this time is spent by ubuntu trying to free up memory for whatever operation it's trying to do11:43
coalwateryou could try chrome for now, should be less memoery intensive11:43
coalwatertry using 'top' in terminal11:44
CuliforgeI don't understand that... top11:44
SnicksieCuliforge, swap is slower then memory ;)11:44
Snicksiethe system monitor should show the correct values too11:45
coalwaterok, use processes tab and sort by memory usage11:46
Culiforgeindeed, aware that swap is slower.. but it never goes above or below 12%11:46
JackyAlcinetop's like Windows Task Manager without the killing feature.11:46
coalwateru could increase the swappiness or w/e in the fstab, but that stuff needs lil time, and i need to go ffor a bit , be back in half an hour or so11:47
JackyAlcineShows a list of all I/O and CPU usages.11:47
coalwaterbrb11:47
Culiforgethx coalwater11:47
Culiforgeright now gnome sys monitor it the biggest memory user at ~10% but sys monitor greyed out when switching tabs11:48
Snicksieyou might wanna try using less programs and/or use a lighter desktop environment. I guess you use unity right now or ...? lubuntu is specially for slower computers11:50
CuliforgeSnicksie: I can see that... I am running apache,mysql,koha in the background11:51
Culiforgebut none of that seems to be pulling huge resources either11:51
CuliforgeI do have another question though... my browser access through 127.0.0.1 is waaaaaay slower than I would have thought. normal web browsing is quite snappy though. any thoughts?11:55
geirhaDoes ''ip -o -4 addr'' run in a terminal show a line for an lo interface?11:58
Culiforge1: lo    inet 127.0.0.1/8 scope host lo11:58
Culiforge2: eth1    inet 192.168.1.9/24 brd 192.168.1.255 scope global eth111:58
geirhaYeah, that looks correct11:59
geirhaHow about ''route -n|grep 127'' ?12:00
Culiforgeno output12:00
geirhaSame here, so that should be fine12:00
geirhaI don't know why it would be so slow then :/12:00
coalwaterback12:01
Culiforgegeirha: was looking around and saw some boards talking about php.in and resolvconf so it may be more program specific12:01
geirhaWell, resolv.conf shouldn't be an issue when you use an ip address12:02
geirhaBut yeah, could be some weirdness with php.12:02
geirhaCompare ''ping -c 5 127.0.0.1'' with ''ping -c 5 google.com''12:03
Culiforgealthough when I start apache it spews something about not being able to find a fully qualified domain name or something to that effect12:03
Culiforge--- 127.0.0.1 ping statistics ---12:03
Culiforge5 packets transmitted, 5 received, 0% packet loss, time 3997ms12:03
Culiforgertt min/avg/max/mdev = 0.036/0.041/0.045/0.005 ms12:03
Culiforge--- google.com ping statistics ---12:04
Culiforge5 packets transmitted, 5 received, 0% packet loss, time 4006ms12:04
Culiforgertt min/avg/max/mdev = 31.214/32.283/32.905/0.593 ms12:04
geirhaYeah, so the lo interface is working fine. Must be php12:04
geirha(or apache)12:04
coalwateru kknow for sure that the apache service is up ?12:05
geirhabtw, please use a pastebin for pasting more than 2 lines at a time12:05
Culiforgewill do---> pastebin12:05
Culiforgeyes, apache is up or I wouldn't be able to access my ILS(koha) right?12:06
coalwateridk what is that12:06
Culiforgeintegrated library system.. won't run unless apache is12:06
Culiforgei see 3 instances of apache2 in sys monitor12:07
coalwaterand 127.0.0.1 doesn12:08
coalwaterwork ?12:08
Culiforgeit works, it's just access is terribly slow12:09
coalwatercould be the same issue12:09
coalwaterrams12:09
Culiforgeright-o, I'll stop complaining until my ram gets here then :)12:09
coalwatertry a ligher browser if u want to stick with ubuntu desktop12:10
coalwaterhow long do u expect to wait for the rest of the ram to come12:11
CuliforgeI'll more than likely be switching to fedora soon (although I do like ubuntu personally) because it's what I'll need for work12:11
Culiforgehopefully by midweek, the ram will come12:11
coalwaterhow much ram is free if you close firefox ?12:12
Culiforge50%12:14
Culiforgeso firefox with 5 tabs is using btw 100-130M12:15
Culiforgeafk one sec, gotta let the dog out real quick12:15
coalwaterwell with me, firefox eats up as much as it could do lol, idk if its my addons or what, but sometimes i forefox+netbeans or somethign could eat up all my 4.5GB at work, i tend to restart firefox every now and then, to free up memory12:20
Culiforgeback coalwater: same here but <150M doesn't seem like an issue12:22
geirhaSame with google-chrome and chromium. Once in a while it starts eating mem like crazy. The only solution is to restart the browser.12:23
geirhaI suspect it's mainly the fault of flash12:24
Culiforgegeirha: I agree, flash or java. java was a suspect on my old windows machine12:25
=== yofel_ is now known as yofel
coalwateru use lucid right? 10.412:29
Culiforgeyup12:29
coalwaterif you're going to reinstall the system anyway, maybe ud want to try to install lxde or something, a lighter weight desktop environment12:32
coalwaterjust temporarily till you do a full reisntall or something12:33
Culiforgecoalwater: sounds like a grand idea12:34
coalwaterbut apparently it will install a lot of things, idk how good/bad idea this is lol http://paste.ubuntu.com/821167/ [ran apt-get install-s  lubuntu-desktop] -s = simulate only12:37
coalwaterthere's a space between install and -s, sry12:37
CuliforgeI remember seeing somewhere there is an argument for installs like that where it will only install a pure environment without additional progs and whistles and bells and stuff.. I'll look for that again12:41
coalwaterCuliforge: if you find it please do share it :D13:27
Culiforgecoalwater: will do.. I did find something on psychocats that "rolls back" all the extra default installs but it wasn't what I remember seeing13:28
hobgoblinCuliforge: minimal install perhaps - there's on of those on psychocat's page14:17
hobgoblinCuliforge: http://www.psychocats.net/ubuntu/minimal14:18
=== Culiforge is now known as cul_away
bobfreewhy if I do "service networking stop" then start it back up again my internet connection doesn't come back up until I reboot? my IP is assigned through DHCP16:01
LemonAidMy DVD writer can`t read any cd/dvd written with Brasero, in either Ubuntu or Windows. When i put the dvd in, after i have burned it, the dvd writer unmounts itself in both OS as well.. if that makes any sense. Did anyone encounter this before?19:14
chrisofficehello21:09
benonsoftwareHi21:09
chrisofficeu r here again?21:09
* benonsoftware nods21:10
chrisoffice:-)21:10
chrisofficeso one can be on multiple channels at the same time?21:10
benonsoftwareYes21:10
chrisofficei c, thanks21:10
chrisofficei just installed ubuntu, maybe u can help me with some stupid questions21:11
benonsoftwareOk21:11
chrisofficeis there anyway i can log in as root?21:11
benonsoftwarechrisoffice: No as that is unwise but you can run sudo21:11
JoseeAntonioRD:21:11
JoseeAntonioRSorry, wrong channel21:12
chrisofficebut i need to do sudo everytime21:12
chrisofficei hate that21:12
JoseeAntonioRchrisoffice You can do su -i21:12
JoseeAntonioRchrisoffice But you would have to set the password21:12
geirhasudo -i21:12
chrisofficelet me try21:13
chrisofficeinvalid option21:13
geirhaHe meant sudo21:13
JoseeAntonioRchrisoffice Yep, sorry. But, to enable this, you have to run "sudo passwd root" without quotes, to set the password.21:14
geirhaNO!21:14
chrisofficeto set a psw for root 1st?21:14
JoseeAntonioRchrisoffice Yes21:14
geirhaDon't set a password for root21:14
geirhajust run   sudo -i  and you have a root shell21:15
chrisofficegeirha, why?21:15
JoseeAntonioRgeirha If he doesn't he wouldn't be able to login with sudo -i21:15
chrisofficei ran sudo -i, then i ask "who am i"21:15
geirhaJoseeAntonioR: sudo -i asks for your user's password, not root's21:15
JoseeAntonioRchrisoffice Do it, otherwise you won't be able to login21:15
chrisofficei m still me, not ROOT21:15
JoseeAntonioRgeirha Check the docs, it asks for the root password, not the user one. sudo asks that one.21:15
geirhageirha@pilot:/tmp$ sudo -i21:16
geirha[sudo] password for geirha:21:16
chrisofficegeirha, yes21:16
chrisofficegeirha, after that, u ask who am i21:17
chrisofficegeirha, it will say geirha, not root21:17
JoseeAntonioRgeirha Well, it asks the root password for me.21:17
geirhachrisoffice: echo "$USER"21:17
chrisofficegeirha, no return21:18
geirhaWell, who am i is not a reliable way to see which user your shell is runnign as21:18
geirhaIt just shows you who owns the terminal you're in.21:19
chrisofficethe only thing after " sudo -i" is that the prompt changed21:19
chrisofficefrom ~$ to ~#21:19
geirhaThe # indicates the shell is running as root21:19
chrisofficei c21:19
geirhaTry a command that would normally require sudo, e.g.  apt-get update21:19
chrisofficei c, so under "~#", i don't need sudo anymore?21:20
geirhaJoseeAntonioR: Then you might have some odd setup in /etc/sudoers21:20
geirhachrisoffice: right, though be very careful. A small typo could wipe your system.21:21
chrisofficei c21:21
geirhaLike an accidental space in an rm command21:21
chrisofficethanks, geirha, another question regarding the file system21:21
chrisofficei just set this thing up, dude, really confused21:22
chrisofficeif i go to file system21:22
geirhaYou can also configure sudo to allow you to run commands as root without requiring password btw.21:23
geirhago on21:23
chrisofficeit shows all these folders, bin, root, home, etc21:23
chrisofficenow, why am i not seeing the other partition, cus when i set it up, i believe i divided the hd into 2 partitions21:24
chrisofficelike c and d as u normally c in windows21:24
geirhaIn linux, partitions don't get assigned letters. You set the main one as /, and all the other partitions you mount on directories under /21:25
geirhaBy default, they will be mounted under /media/21:26
chrisofficei c21:26
chrisofficeso the partition that the linux is installed on is /, and the spare one is /media/?21:27
geirhachrisoffice: No, inside /media, like /media/the-filesystem-label/21:27
chrisofficei.e., the media folder i c under the file system is actually the other partition?21:27
geirhachrisoffice: run   df -h   to see mounted partitions21:27
geirhaIt'l be a subdirectory of /media21:28
chrisofficeFilesystem            Size  Used Avail Use% Mounted on21:28
chrisoffice/dev/sda1              55G  4.2G   48G   9% /21:28
chrisofficeudev                  368M  4.0K  368M   1% /dev21:28
chrisofficetmpfs                 150M  760K  149M   1% /run21:28
chrisofficenone                  5.0M     0  5.0M   0% /run/lock21:28
chrisofficenone                  375M  164K  375M   1% /run/shm21:28
chrisofficeroot@HP-Tablet:~#21:28
geirhaWhen pasting more than two lines at once, please use a pastebin.21:28
chrisofficeso i only have one partition?21:29
geirhaAnyway, your other partition is not mounted anywhere21:29
geirhasudo fdisk -l   will show an overview of your harddrives and their partitions (don't paste it, just look at it)21:29
chrisofficeso what are the other ones listed here? /dev for example?21:30
geirhachrisoffice: Special, magical filesystems Ubuntu uses. It's the ones with names like /dev/sda2 you're interested in21:30
chrisofficeafter fdisk -l, it lists sda1 , sda2, sda521:31
chrisofficeand sda1 is the boot21:31
geirhaWhat's in the System column of sda5 ?21:31
chrisofficeshow a asterik sign under boot21:31
chrisofficelinux swap / solaris21:32
chrisofficeand "extended" for sda221:32
chrisofficewhat do they mean?21:32
geirhaRight. That means you only have /dev/sda1. /dev/sda5 is a swap partition.21:33
chrisofficewhat about sda2?21:33
chrisofficesays "extended"21:33
geirhachrisoffice: the harddrive can only be partitioned into 4 partitions, sda1-421:33
geirhabut you can make one of those four partitions an extended partition, and inside the extended partition, you can have many partitions (called logical partitions).21:34
chrisofficeoh, i c21:34
chrisofficesimilar to windows21:34
geirhaThis is due to historic reasons. Introducing the extended partition was a way to work around not being able to have more than 4 partitions.21:35
chrisofficethat means the sda1 did not take up the entire HD21:35
chrisofficeotherwise there should not be extened partition, right?21:35
geirhasda1 has 55GiB. How large is the entire HD?21:35
chrisoffice6021:35
geirhaRight, so the extended one probably covers the rest of the disk21:36
geirhaAnd the swap probably covers the entire extended partition.21:36
chrisofficeok, now, if i click on the root folder, i can't open it21:36
chrisofficeU R RIGHT21:37
chrisofficeswap and extened have the same block numbers21:37
geirhaThat's the root user's homedir. It is only accesible to the root user.21:37
chrisofficei m root right now, after sudo -i21:38
chrisofficebut still can't open it21:38
geirhachrisoffice: Only in that one terminal. Your nautilus (file browser) is still running as your user.21:38
geirhaYou can run nautilus as root though.  gksudo nautilus21:38
geirhaOr you can install the nautilus-gksu package which adds a "Open as administrator" option21:39
chrisofficeafter that, i can open the root21:39
chrisofficebut it only has one thing inside, "desktop"21:39
chrisoffice:-)21:39
geirhaYes, there's typically not much interesting in there21:40
chrisofficei thought the root would be like the system folder in windows21:40
chrisoffice:-)21:40
chrisofficeso if i want to install a program, which folder should i installed it to?21:42
chrisofficeit does not have a "program" folder21:42
geirhaan application's files are spread around the filesystem.21:44
geirhalibrary files go in /usr/lib, executables in /usr/bin, datafiles in /usr/share etc21:44
chrisofficeoh21:45
geirhavery different from the way it's done in windows.21:45
chrisofficesay i d/l and install a chris.tar.gz program from the internet21:45
chrisofficeafter i download it, it show up in my /home/chris/downloads folder21:46
geirhaThen I'd say: don't do that. Search for it in the software center instead.21:46
geirhaIf you don't find it there, look for a ppa that has a package for it.21:46
chrisofficei can't find it there21:46
geirhaIf there's no ppa, look for a deb-file21:47
chrisofficewhat is ppa? pre-packaged app?21:47
geirha.tar.gz is one of the last resorts21:47
geirha!ppa21:47
ubot2`A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa21:47
chrisofficenothing like that either, ok, i wanna install the linux drive for alfa adapter21:48
chrisofficehttp://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=10539721:49
chrisofficeno debian file either21:50
geirhaThen it gets complicated21:50
chrisofficeonly thing available us tar.gz21:50
chrisofficei downloaded to my /home/chris/downloads/ folder21:51
chrisofficenow, i did txvf to unzip it21:51
chrisofficebut then i stuck21:51
bioterrorinstall checkinstall21:52
chrisofficei just don;t know how to install a program21:52
bioterror!checkinstall21:52
ubot2`checkinstall is a wrapper to "make install", useful for installing programs you compiled. It will create a .deb package, which will be listed in the APT database and can be uninstalled like other packages. See https://help.ubuntu.com/community/CheckInstall - Read the warnings at the top and bottom of that web page, and DO NOT interrupt CheckInstall while it's running!21:52
bioterrorusually you should read the INSTALL file inside the folder21:52
bioterrorit suggest you to run ./configure21:53
bioterrorthen you will run make21:53
bioterrorand then checkinstall21:53
chrisofficenot make install?21:53
geirhaThere's no recipe for installing from a tar.gz. Apart from extracting it and looking for a README and/or INSTALL file for further instructions.21:53
chrisofficewhat is .sh file?21:54
geirhaUsually a shell script21:54
geirhaThough not necessarily an sh script. Could be bash, ksh, csh etc21:54
chrisofficei like every part of ubuntu, except this program installing part, this is killing me22:00
chrisofficesuch a easy task under windows, why is it so difficult under linux?22:00
geirhachrisoffice: It's not. It's easier in Ubuntu.22:02
chrisofficewell, it is easier if u can find it in the depository22:02
geirhaIt's fairly easy in Windows, if an installer.exe is provided. You'd just double click it and it installs.22:02
geirhaThat's what deb files do in Ubuntu.22:02
chrisofficebut many program are only in tar.gz formats22:02
geirhaThis is more akin to having to download a .zip file in windows, then extract the zip and put each file in the right place22:03
chrisofficeso .deb is like .exe under windows, right?22:03
geirhaWhich you'd avoid in windows, and in Ubuntu, you want to avoid having to install from these tarballs (.tar.gz)22:03
geirhachrisoffice: No .deb is more like an installer exe.22:04
chrisofficeno, it is easy to unzip and install in windows22:04
chrisofficebut it is tough to install tar.gz in linux22:04
geirhaNot if you need to put different files in different places22:04
geirhachrisoffice: Which is why you want to avoid having to do install from a tar.gz in the first place.22:05
chrisofficewell, but for many programs, tar.gz is the ONLY option22:05
geirhaThe software center contains a vast ammount of software which you can install with much more ease than in windows22:05
geirhachrisoffice: Not many in my experience. And it's the ones that made the software that couldn't be bothered to package it properly, leaving you with the burden22:07
chrisofficeok, now i downloaded the alfa driver in /home/chris/download/ folder, now i need to fire up the terminal and go to that folder first?22:07
chrisofficehelp me go through this one time if u can22:07
geirhaSure, though it's probably ~/Downloads, plural and with uppercase D.22:08
chrisofficeok22:08
chrisofficesorry for the typo22:08
chrisofficehow should i go to this folder in terminal?22:09
geirhaAnd you want to do this as your user (i.e. no sudo -i)22:09
chrisofficewhy?22:09
geirhacd ~/Downloads22:09
chrisofficewhy not sudo?22:09
geirhaIt's only the last step that requires root22:09
chrisofficei c22:09
geirhaOr, well, it depends on what the tar.gz contains.22:10
chrisofficeso when i fire up the terminal, i m already in the /home/chris/ folder?22:11
chrisofficethat's why i only need ~/download22:11
chrisofficeDownloads22:11
chrisofficesorry22:11
geirha~/ is expanded to /home/chris/ (or whatever your homedir is)22:12
geirhae.g. try  echo ~22:12
geirhaBut yes, you'll be in your homefolder in a fresh terminal, so just  cd Downloads  should do22:12
chrisofficeafter echo !, /home/chris22:13
geirhaAye, for me that echo prints /home/geirha22:13
chrisofficebut cd ~/Downloads does not work, no such directory22:13
chrisofficehow do i list directories under a folder?22:13
geirhals22:14
chrisofficeok, i m in22:14
chrisoffice now i do xzvf?22:14
geirhatar zxvf thefile.tar.gz22:15
geirhaThere's tab completion if you know what that is22:15
bioterrorz is not needed anymoar ;)22:15
geirhameh, doesn't hurt :)22:15
chrisofficeshot, it does not work, the file i downloades is a .zip file22:19
chrisofficeweird22:19
geirhathen  unzip thefile.zip22:19
bioterrorunzip -x file22:20
chrisofficeafter extract, i do ls22:20
chrisoffice036NHR_linux_v3.0.2164.20110715.zip22:20
chrisofficeRTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.2011071522:20
chrisofficeshows these 2 files22:21
geirhaThe last one there is probably a directory22:21
geirhacd RTL<tab>22:21
chrisofficeyes22:21
chrisofficei should cd this directory 1st?22:22
geirhayes, type cd RTL then hit the tab key22:22
chrisofficeyep, i m in22:22
chrisofficenow i do tar zxvf?22:22
geirhaNo idea.22:23
geirhaDepends on what that directory contains22:23
chrisofficeandroid_reference_codes  driver      readme.txt        wpa_supplicant_hostapd22:24
chrisofficedocument install.sh  ReleaseNotes.doc22:24
geirhaxdg-open readme.txt22:25
chrisofficei did22:25
chrisofficei just click it to open22:26
geirhaIt will hopefully explain how to procede22:26
chrisofficenot really though22:27
chrisofficeok, i found a tar.gz file under the driver folder22:28
chrisofficels22:28
geirhaCould be you're just supposed to run install.sh22:28
chrisofficehow do i run install.sh?22:29
geirhaSeems there's some instructions for some of the drivers here: http://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=10543722:30
geirhaI see some "How do you install the Ubuntu driver?" pdfs ...22:30
chrisofficeok, i did not look there22:31
chrisofficebut in the releasenote, it says 6. install.sh22:31
chrisoffice   Script to easy make 8192cu driver.22:31
chrisofficethis is really getting complicated, under documents, there is a file named HowTo build driver under kernel tree22:33
chrisofficeopen it, it says22:34
geirhaYes, a kernel driver is very complicated to build by yourself22:35
chrisofficecan't even paste here22:35
chrisofficedamn22:35
chrisoffice1. Copy our driver into drivers/net/wireless/ and rename it as rtl8192cu, for example.22:36
chrisoffice2. Add obj-$(CONFIG_RTL8192CU)  += rtl8192cu/ into drivers/net/wireless/Makefile:22:36
chrisoffice3. Add source "drivers/net/wireless/rtl8192cu/Kconfig" into drivers/net/wireless/Kconfig22:36
chrisoffice4. Config kernel, for example, with “make menuconfig” command  to select y or m for our driver22:36
chrisoffice5. Build kernel with “make” command22:36
geirhaWell, sudo sh install.sh  may or may not work. It may even hose your system. You have to trust the creators of that driver and its install script that they know what they're doing.22:36
geirhaerr, pastebin22:36
geirhaI'd consider looking in a forum dedicated to this driver, or at the ubuntuforums. Chances are someone has done this and provided some step by step instructions for others.22:38
chrisofficeok, thanks, i will try it later22:38
chrisofficeso in general, we either install from a depository or from the ppa>?22:39
chrisofficewhat does the .sh file normally do? cus there is always a .sh file in the tar.gz22:41
geirhaA shell script is a file containing multiple commands in order. It usually also includes some logic and math.22:42
chrisofficeit is like a autoran?22:42
chrisofficeautorun in windows>?22:43
geirhaI suppose, except it's not run automatically.22:43
chrisofficei c22:43
geirhaYou have to run it22:43
chrisofficeto run the .sh file, we do sh filename.sh?22:43
geirhaIf it's an sh script, yes, that's one way to run it. Though as I said earlier, it might not be an sh script, it could be a bash script or ksh script or other.22:44
geirhaSome people slap on .sh on the end even when it's not actually an sh script. Presumably to confuse their users.22:45
chrisofficeoh, so a .sh file can mean different things, not necessarily a shell bin script22:45
chrisofficeis that what u said?22:46
geirhaIt's typically a shell script, but not necessarily a script written be run with /bin/sh, it could be it's meant to be run with /bin/bash or /bin/ksh or whatever instead.22:46
chrisofficei c22:47
geirhaThe only way to tell is to open it and know what to look for.22:49
geirhaOr run it and see if it fails, though that could have some bad side effects22:49
chrisofficeand what's the difference between /bin and /usr/bin?22:50
chrisofficec, the ubuntu is getting reallly complicated if u want to master it, it is easy if u only want to use it, like using a ipad22:51
geirhaNot much. /bin contains the most important executables that need to be around for an absolute minimal linux system. Everything else goes in /usr/bin22:51
geirhaIt's somewhat common to have /usr a separate partition, so in case mounting that partition fails, you have executables in /bin and /sbin to help you figure out why and/or fix it.22:52
chrisofficei c, what about /mnt folder?22:52
geirhaMainly used to hold temporary mounts22:53
chrisofficei c, so sbin is also for executables?22:53
geirhaYes, for executables only admins can run22:54
chrisofficeso for different users, each one has a different bin folder, or the same bin folder?22:55
chrisofficei guess u can install a program so that only one user can use it22:56
geirhaexecutables regular users can run goes in bin22:56
geirhaYes, you can install a program in your homedir and run it from there22:56
chrisofficei thought the executables went to /usr/bin folder after u install it22:57
chrisofficehow are u going to install it in ur home dir?22:57
geirhaWell, you wouldn't do that with a deb. Usually, executables you put in your homedir are simple scripts.22:58
geirhaBut advanced users may build and install software in their homedirs to test them out, or in order to create deb packages of them.22:59
chrisofficeso a debian file is like a executable file?22:59
chrisoffice.deb is like .exe?22:59
geirhaNo, it's a package. It contains an archive of files, where to put the files, what questions to ask when installing it, and commands to run before/after copying the files.23:00
geirhaIt's not an executable. It must be opened by a package manager in order to be installed.23:01
chrisofficebut there is a installer inside the package though23:02
chrisofficelike a .exe inside a folder in windows?23:02
geirhaNot really.23:02
chrisofficeso what good is a debian file over a tar.gz?23:03
chrisofficetar.gz is a folder and it contains all sort of files as well23:03
geirhaYou can just double click it to open it in a package manager, then click install.23:03
geirhaIt will first check if you have all dependencies in place though.23:03
geirhaUbuntu is not like windows, where all applications bundle their own version of shared libraries.23:04
geirhaIn Ubuntu, a shared library is a shared library23:04
geirhaSo if some software requires a particular library, a deb for that library must also be installed.23:05
chrisofficewell, u lost me here, but anyway, i will study it more23:05
chrisofficei c23:05
chrisofficeit is like a MAIN function in C language23:06
chrisofficeu need to call the library first23:06
chrisofficeb4 executing anything23:06
geirhaWhen you install software via the software center, it downloads and installs a deb file from a repository of deb packages. It also downloads and installs all deb files that id depends on.23:07
chrisofficeso a debian package contains the library for that particular program23:07
geirhaa deb package may contain a library, it may contain a program, it may contain just documentation23:07
chrisofficei c23:07
chrisofficeget it now23:07
chrisofficeso ubuntu is based on debian23:08
chrisofficeright?23:08
geirhayes23:08
chrisofficei c23:08
chrisofficegreat help, geirha, i really appreciate your time23:09

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!