cbrowne | I'm having immense trouble setting up my Ubuntu 9.10 server as a Wireless Access Point; I've followed the various howtos and even tried compiling 2.6.32-wl (the rt2x00 project's kernel), all to absolutely no avail; chipset (according to lspci): "03:0b.0 Network controller: RaLink RT2561/RT61 802.11g PCI"; lsmod confirms I have the rt61pci module installed. Any help would be greatly appreciated (sorry for the uber long message) | 00:02 |
---|---|---|
cbrowne | ping... | 00:21 |
Hypnoz | I had problems with wireless in 9.10, which worked perfectly in 9.04 | 00:35 |
Hypnoz | so i finally went back to 9.04 | 00:35 |
Hypnoz | you might consider trying your setup on a 9.04 install | 00:35 |
Hypnoz | if you get desperate i guess | 00:35 |
=== ShadeS_ is now known as ShadeS | ||
ruben23 | hi are there ways to optimize ubuntu-server default.. | 01:18 |
qman__ | ruben23, you're going to have to be more specific -- ubuntu server is optimized for typical situations out of the box | 01:23 |
ruben23 | qman__: what are ways i can enhance and optimize ubuntu-server. my application need extensive processing... | 01:30 |
qman__ | ruben23, ubuntu server has no superfluous or performance-hindering configurations by default | 01:44 |
qman__ | there are some things you may be able to remove, but they would also remove functionality | 01:44 |
qman__ | if a base ubuntu server install is not fast enough, you probably need faster hardware | 01:44 |
ruben23 | qman__:ill take that...i just heard from other modifying kernel stack to preven memory leak.it hink thats wrong. | 01:53 |
qman__ | a memory leak is a different problem | 01:54 |
qman__ | if your kernel is leaking memory, it needs to be fixed, probably by updating it | 01:54 |
qman__ | if your program is leaking, you need to complain to whoever wrote it | 01:55 |
ruben23 | qman__: thank you for clarity. | 02:00 |
MTecknology | qman__: there's ways to speed it up... | 02:07 |
MTecknology | I figure it's the perfect balance between instant usability, security, and speed | 02:08 |
MTecknology | although I wouldn't mind sacraficing a little usability for the sake of more security | 02:08 |
ruben23 | MTecknology:hows that..? | 02:09 |
* genii sacrifices a goat to MTecknology's cause | 02:09 | |
MTecknology | giovani: :P | 02:10 |
MTecknology | genii: * | 02:10 |
MTecknology | ruben23: I tend to remove a lot of cruft from a basic server install, but overall it's not bad | 02:11 |
MTecknology | I kinda wish we offered a hardened kernel | 02:11 |
MTecknology | genii: you should see my kernel config :P | 02:11 |
ruben23 | MTecknology:you re compile the kernel. | 02:14 |
MTecknology | ruben23: ya, for my own laptop (only system) - not the servers I run | 02:15 |
ruben23 | ow ok, im just worried on my ubuntu-server i ahd it keeps getting high loadavg- up 12.0:-( | 02:16 |
MTecknology | you check top output? | 02:18 |
=== robbiew is now known as robbiew_ | ||
ruben23 | im using htop | 02:19 |
Pici | ruben23: how many cpus? | 02:20 |
MTecknology | I don't trust htop, never seems completely accurate | 02:20 |
ruben23 | i got dual core xeon-intel. | 02:21 |
ruben23 | 2.4Ghz | 02:21 |
Pici | Check iotop then | 02:21 |
ruben23 | Pici: i think the application itself are putting the high load | 02:23 |
bogeyd6 | MTecknology, how is htop not accurate? | 02:23 |
ruben23 | whats the difference betwwen buffer memory to cached memory.. | 02:24 |
MTecknology | apache under any normal use seems to add a plenty high load | 02:24 |
bogeyd6 | buffer is in the processor | 02:24 |
bogeyd6 | MTecknology, im interested in the specifics of htop being inaccurate | 02:25 |
ruben23 | how about cached..? | 02:25 |
MTecknology | cached is held in memory but not being used, for being quickly recalled | 02:25 |
bogeyd6 | MTecknology, i ask because a) i assume you are not a troll b) i use htop and rely on it for my consulting | 02:26 |
bogeyd6 | cached is the ram | 02:26 |
bogeyd6 | Cache Memory can be accessed more quickly by the computer microprocessor than it can be accessed by regular RAM | 02:26 |
bogeyd6 | well cached is usually in the ram | 02:27 |
MTecknology | bogeyd6: there are times where I see top and htop disagree | 02:27 |
bogeyd6 | run on the same box? | 02:28 |
MTecknology | ya | 02:29 |
MTecknology | same time | 02:29 |
MTecknology | buffer = being moved around; used = ready for instant use; cached = ready to become ready for instant use; free means nothing there to be used | 02:29 |
MTecknology | best as I know how to explain it very simply unless i'm wrong | 02:29 |
bogeyd6 | i know about the memory usage calculation | 02:30 |
MTecknology | bogeyd6: I could be wrong and there could be bugs that were addressed in the time since I used it last - ~4yr | 02:30 |
bogeyd6 | but running htop and top at the same is very easy to see the disagreement and why | 02:30 |
Pici | I've not had any issues running htop myself | 02:31 |
bogeyd6 | Pici, you did on the memory calculation and didnt know it | 02:31 |
bogeyd6 | Pici, fear not it was just the buffer usage | 02:32 |
pmatulis | ruben23: you have a cpu load of 12.0 ? for how long? | 02:33 |
ruben23 | pmatulis:actually i start at 0.89 then rising.then eventually ill get 12.0 when full usage then my apps crashed up. need to reboot again | 02:34 |
ruben23 | to correct. | 02:34 |
bogeyd6 | ruben23, which app? | 02:34 |
pmatulis | ruben23: geez, change your h/w and/or your app | 02:35 |
ruben23 | bogeyd6: its a dialer system..for voice calling-asterisk, and he do recordings | 02:35 |
bogeyd6 | ruben23, i read your past convo and it seems no one told about the ubuntu linux rt kernel | 02:35 |
bogeyd6 | <ruben23> qman__: what are ways i can enhance and optimize ubuntu-server. my application need extensive processing... | 02:35 |
ruben23 | bogeyd6: yes whats rt kernel.? | 02:36 |
bogeyd6 | real time processing | 02:36 |
bogeyd6 | linux has an inherent delay in processing | 02:36 |
pmatulis | ruben23: even a consistent load of 2.0 is terrible | 02:36 |
bogeyd6 | !realtime | 02:36 |
MTecknology | bogeyd6: so what happens with it? had to run | 02:36 |
ruben23 | pmatulis: yeah its true..worst is 12.0 | 02:36 |
bogeyd6 | !rt | ruben23 | 02:37 |
ubottu | ruben23: The RT kernel is the Ubuntu kernel with a realtime preemption patch applied. It is included in Ubuntu Studio by default. For more information please see: https://wiki.ubuntu.com/RealTime/ | 02:37 |
bogeyd6 | ruben23, https://rt.wiki.kernel.org/index.php/Main_Page | 02:37 |
bogeyd6 | ruben23, just to help even further Real-time applications have operational deadlines between some triggering event and the application's response to that event. To meet these operational deadlines, programmers use real-time operating systems (RTOS) on which the maximum response time can be calculated or measured reliably for the given application and environment. | 02:38 |
ruben23 | th recommend distro version for my apps is ubuntu-server 8.10 LTS | 02:39 |
bogeyd6 | 8.04 lts | 02:39 |
ruben23 | bogeyd6: this process is kernel recompile and patching it up..? | 02:39 |
ruben23 | sorry | 02:39 |
MTecknology | !lts | 02:39 |
ubottu | LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !Hardy (Hardy Heron 8.04). The next LTS release is scheduled to be !Lucid (Lucid Lynx 10.04) | 02:39 |
bogeyd6 | ruben23, as simple as apt-get install linux-rt | 02:40 |
ruben23 | bogeyd6:ow , wow this is a big help.. | 02:40 |
bogeyd6 | reboot and try it | 02:40 |
bogeyd6 | if you dont like, remove it and reboot | 02:40 |
MTecknology | I wonder how hard it is to write a useful OS from scratch... | 02:41 |
bogeyd6 | upgrading to karmic will be even more beneficial but who knows if your app is supported | 02:41 |
MTecknology | gnu hasn't even been able to do it yet - obviously i couldn't, i'm just wondering what kind of work goes into it.. | 02:41 |
MTecknology | ruben23: what app? | 02:42 |
bogeyd6 | MTecknology, debian sarge had over 230 million lines of code | 02:42 |
MTecknology | that's with the kernel and everything? | 02:42 |
ruben23 | MTecknology: asterisk, with a couple of record apps, like sox and lame. | 02:42 |
bogeyd6 | MTecknology, the whole release | 02:43 |
bogeyd6 | ruben23, linux-rt is included in ubuntu studio because of the audio and video processing | 02:43 |
MTecknology | bogeyd6: if you have 10 million devs that's ion 23 million lines each :P | 02:43 |
bogeyd6 | ruben23, asterisk is available on karmic | 02:43 |
bogeyd6 | MTecknology, http://www.dwheeler.com/sloc/ | 02:43 |
=== au__ is now known as au | ||
bogeyd6 | !asterisk | 02:44 |
bogeyd6 | !voip | ruben23 | 02:44 |
ubottu | ruben23: VoIP is Voice over IP. The default VoIP client for Ubuntu is !Ekiga. There is also an xmpp voice component in !Empathy. Kubuntu Clients include Kphone and Twinkle. Proprietary Clients include !Skype and Gizmo5. VoIP server applications include Asterisk and Yate ( both in repositories ), FreePBX, and SipX. | 02:44 |
ruben23 | bogeyd6: yes it the backend of my apps, using viciidal-created through perl script. | 02:44 |
=== au is now known as Guest50113 | ||
bogeyd6 | i would try the linux-rt kernel which is made for sound processing and see how far tht gets you | 02:45 |
ruben23 | http://astguiclient.sourceforge.net/vicidial.html <-------see ubuntu is recommended..best | 02:45 |
MTecknology | bogeyd6: I have a hard time reading that article beyond the title, but it sounds interesting | 02:46 |
* bogeyd6 feels dirty for helping a telemarketer | 02:46 | |
ruben23 | bogeyd6:i will also try it to karmic- the goal is to lessen up loadavg generated.. | 02:46 |
bogeyd6 | !ymmv | ruben23 | 02:48 |
ubottu | ruben23: ymmv is short for "Your mileage may vary". It means that someone else's experience with compatibility, performance etc. may not necessarily match yours. Also see !wfm | 02:48 |
ruben23 | bogeyd6: this is a big help, thanks so much, il test it on production.. | 02:48 |
bogeyd6 | :) | 02:48 |
bogeyd6 | we aim to please here at ubuntu | 02:49 |
ruben23 | bogeyd6:does karmic already have the rt kernel..? | 02:49 |
bogeyd6 | ruben23, no it doesnt. you install and you "sudo apt-get install linux-rt" and reboot the server | 02:50 |
ruben23 | bogeyd6: got one more clarification | 02:52 |
bogeyd6 | ruben23, k | 02:52 |
ruben23 | i got this process on before installing my apps, where i can incorporate the rt kernel here on this part..? ---------> http://pastebin.com/H9MLXRKp -----> do i need to omit process here..? | 02:53 |
bogeyd6 | hmm | 02:53 |
ruben23 | bogeyd6: what you think..? | 02:56 |
bogeyd6 | ruben23, http://pastebin.com/Lj2YrMh9 | 02:56 |
bogeyd6 | im not sure about why you need the linux-source but it cant hurt | 02:57 |
ruben23 | ok i will omit linux source-im not needing it actually. | 02:57 |
ruben23 | ill replace linux source with rt linux install | 02:58 |
bogeyd6 | kk | 02:58 |
ruben23 | thanks | 02:59 |
=== Guest50113 is now known as au | ||
=== au is now known as Guest61037 | ||
ruben23 | bogeyd6:if i install linux rt- do i need to install linux header again..? or no need | 03:06 |
bogeyd6 | not if you followed the order i did it in | 03:07 |
MTecknology | ruben23: install kernel/header; reboot | 03:08 |
MTecknology | !info harden | 03:09 |
ubottu | harden (source: harden): Makes your system hardened. In component universe, is extra. Version 0.1.35 (karmic), package size 9 kB, installed size 60 kB | 03:09 |
MTecknology | ruben23: you ever mess with that? | 03:09 |
MTecknology | bogeyd6: * | 03:09 |
ruben23 | bogeyd6: how do i cehck if rt-kernel is installed propoerly | 03:15 |
ruben23 | i got this---> Linux vicidial 2.6.24-27-server #1 SMP Fri Mar 12 01:45:06 UTC 2010 i686 GNU/Linux | 03:16 |
bogeyd6 | cat /etc/lsb-release | 03:16 |
bogeyd6 | wait sorry im dumb | 03:17 |
ruben23 | ok | 03:19 |
=== Guest61037 is now known as au | ||
=== au is now known as Guest49270 | ||
sekyourbox | I need help with wpa_supplicant. When i run the command its says the following drivers are installed: wext, nl80211, amtel, wired... I need to enable madwifi drivers, and i believe they are already installed by default on 910..Network says im using auth5. Any help please | 05:01 |
=== Guest49270 is now known as au | ||
=== au is now known as Guest18098 | ||
twb | sekyourbox: that doesn't sound like a server issue. | 05:10 |
sekyourbox | I need to do this for my server | 05:11 |
sekyourbox | I cant set up a server with network manager | 05:11 |
MTecknology | sekyourbox: hm? | 05:20 |
sekyourbox | MTecknology | 05:21 |
MTecknology | sekyourbox: vim /etc/networking/interfaces | 05:21 |
sekyourbox | I know how to set it up, i just need to know how to get wpa_supplicant to recognise the driver. | 05:22 |
twb | sekyourbox: you generally want the generic wext driver these days. | 05:22 |
MTecknology | you just need to have the driver loaded, the rest should be magic | 05:22 |
sekyourbox | Wext isn't working for me | 05:24 |
sekyourbox | it connects but wont grab a DHCP address | 05:24 |
sekyourbox | I dont want to set up a static address | 05:24 |
sekyourbox | AND i want to use madwifi | 05:24 |
MTecknology | why don't yyou want a static ip for a server? | 05:25 |
sekyourbox | because the wpa part of the setup has nothing to do with my server. I need to setup a PXE server for a seperate subnet in my lan | 05:26 |
sekyourbox | so its actually a workstation/server | 05:27 |
sekyourbox | I will also eventually be setting other things that need network manager to be disabled | 05:27 |
sekyourbox | looks like I need to re-compile wpa_supplicant | 05:39 |
=== Guest18098 is now known as au | ||
=== au is now known as Guest34415 | ||
Carbon_Monoxide | hi! i have an Ubuntu Server 9.04 with Error 16: Inconsistent filesystem structure during boot up | 06:24 |
Carbon_Monoxide | I've used a LiveCD to fsck the ext2 /boot partition | 06:25 |
Carbon_Monoxide | and it is marked as clean | 06:25 |
Carbon_Monoxide | what else do i need to do? | 06:26 |
=== Guest34415 is now known as au | ||
=== au is now known as Guest17057 | ||
sherr | Carbon_Monoxide: A google brings up some hits - looks like a serious issue and not solved by many ... filesystem issue/corruption | 07:37 |
sherr | http://www.google.co.uk/search?q=%22Inconsistent+filesystem%22&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:official&client=firefox-a | 07:37 |
sherr | One person backed up the kernel and made a copy of it for boot : | 07:38 |
sherr | http://bbs.archlinux.org/viewtopic.php?id=72686 | 07:38 |
sherr | Maybe you will get lucky. Good luck. | 07:38 |
=== Guest17057 is now known as au | ||
=== au is now known as Guest35704 | ||
=== au__ is now known as au | ||
=== au is now known as Guest52917 | ||
=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
=== Guest52917 is now known as au | ||
=== rZr is now known as rzr | ||
=== au is now known as Guest94702 | ||
=== lionel_ is now known as lionel | ||
=== Guest94702 is now known as au | ||
=== au is now known as Guest25244 | ||
=== Guest25244 is now known as au | ||
=== au is now known as Guest48159 | ||
=== Guest48159 is now known as au | ||
=== au is now known as Guest40026 | ||
ricdanger1 | hi there | 14:08 |
ricdanger1 | I'm testing ubuntu 10.04 and find something really annoying | 14:08 |
ricdanger1 | no verbose output on boot | 14:08 |
ricdanger1 | is there a way to fix this? | 14:08 |
twb | Remove "quiet" from the kernel boot parameters. | 14:12 |
=== Guest40026 is now known as au | ||
twb | Depending on what you mean by "verbose". | 14:12 |
ricdanger1 | nop | 14:13 |
twb | I think there's further output if you add "debug" or someting. | 14:13 |
ricdanger1 | kernel messages show fine | 14:13 |
=== au is now known as Guest72928 | ||
twb | ricdanger1: did you install from the server CD? | 14:13 |
ricdanger1 | but everything from init-bottom is just black | 14:13 |
ricdanger1 | sure | 14:13 |
ricdanger1 | both minimal and regular | 14:13 |
ricdanger1 | btw, regular installs plymouth. | 14:13 |
twb | Oh, it's THAT | 14:13 |
twb | Hit Ctrl+Alt+F1 | 14:13 |
ricdanger1 | so there is a splash, but still no boot messages | 14:13 |
twb | There's a vt switching issue. | 14:14 |
ricdanger1 | Ctrl+Alt+F1 shows the caret scrolling vertically but not a single output from init scripts | 14:14 |
ricdanger1 | it's like the messages are being printed black in black | 14:14 |
twb | OK, at this point I'm just going to say that I don't know. | 14:14 |
ricdanger1 | this is really annoying | 14:15 |
twb | I can probably fix it from first principles, but I don't have hardware that can run plymouth to test a 10.04 image against. | 14:15 |
ricdanger1 | hope it gets fixed | 14:15 |
ricdanger1 | do you know where can I fill a bug for thgis? | 14:15 |
ricdanger1 | twbn: without plymouth (virtual or minimal install), you only get a black space without any output | 14:15 |
twb | Dunno | 14:15 |
ricdanger1 | so, the problem is there | 14:15 |
twb | The usual ubuntu bug reporting procedures should apply | 14:16 |
ricdanger1 | sure | 14:16 |
twb | !malone | 14:16 |
ubottu | Launchpad is a collection of development services for Open Source projects. It's Ubuntu's bug tracker, and much more; see https://launchpad.net/ | 14:16 |
ricdanger1 | but what package should this be related? | 14:16 |
ricdanger1 | I filled on upstart | 14:16 |
twb | ricdanger1: best guess, and they'll reassign it if you're wrong | 14:16 |
twb | upstart or plymouth are reasonable guesses IMO | 14:16 |
ricdanger1 | btw | 14:18 |
ricdanger1 | http://launchpadlibrarian.net/41417613/LucidBoot.png | 14:18 |
ricdanger1 | here is the boot result | 14:18 |
ricdanger1 | the more services I add, the more scrolled down the prompt is | 14:19 |
twb | Hmm, what provides the LSB script library | 14:19 |
twb | ricdanger1: do you have lsb-base installed? Check its bug list. | 14:19 |
ricdanger1 | https://launchpad.net/ubuntu/+source/upstart/0.6.5-5 | 14:20 |
ricdanger1 | they have here something about foreground color | 14:20 |
ricdanger1 | fixed on 0.6.5-5 (the one I'm running) | 14:20 |
ricdanger1 | maybe this is why the text is black now | 14:20 |
=== Guest72928 is now known as au | ||
=== au is now known as Guest38731 | ||
=== Guest38731 is now known as au | ||
=== au is now known as Guest34842 | ||
jmazaredo | can you forward 192.168.0.15:80 to 192.168.0.16:80? | 16:34 |
jmazaredo | so that if 192.168.0.17 request webpage on 192.168.0.15 will go to 192.168.0.16 | 16:34 |
=== Guest34842 is now known as au | ||
=== au is now known as Guest3335 | ||
RoyK^ | jmazaredo: there are several ways to do that :) | 17:37 |
jmazaredo | i need!\ | 17:39 |
RoyK^ | how? | 17:39 |
RoyK^ | proxying? | 17:39 |
RoyK^ | iptables can help you, but a simple redirect is easier | 17:40 |
jmazaredo | http://ubuntuforums.org/showthread.php?t=1434586 | 17:40 |
jmazaredo | thats my problem | 17:40 |
RoyK^ | <?php header("Location: http://newbox"); ?> | 17:40 |
jmazaredo | posted in the thread | 17:40 |
jmazaredo | iptables perhaps | 17:40 |
jmazaredo | iptables -A PREROUTING -t nat -i wlan0 -p tcp --dport 80 -j DNAT --to 192.168.0.155:80 | 17:41 |
jmazaredo | iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i wlan0 -j ACCEPT | 17:41 |
jmazaredo | the problem is the other box is in virtualbox | 17:41 |
RoyK^ | why would that be a problem? | 17:41 |
RoyK^ | if using NAT in vbox, you'll need their own port forward | 17:42 |
jmazaredo | the adapter is bridged | 17:42 |
jmazaredo | so they are on same network | 17:42 |
RoyK^ | sorry. fell out | 17:45 |
jmazaredo | :) | 17:46 |
jmazaredo | in the internet i only see forwarding external to internal | 17:47 |
RoyK^ | there isn't really a big difference | 17:47 |
RoyK^ | just two sides | 17:47 |
jmazaredo | so this command what will this do? iptables -A PREROUTING -t nat -i wlan0 -p tcp --dport 80 -j DNAT --to 192.168.0.155:80 | 17:48 |
jmazaredo | all request from that pc will go to 192.168.0.155:80? | 17:48 |
RoyK^ | yes | 17:49 |
jmazaredo | iptables -A FORWARD -p tcp -m state --state NEW --dport 80 -i wlan0 -j ACCEPT | 17:49 |
RoyK^ | that is, it'll forward the request | 17:49 |
jmazaredo | that one? | 17:49 |
RoyK^ | that one will accept routing in the FORWARD chain if that is already blocked by policy | 17:50 |
RoyK^ | if the policy is ACCEPT, it won't do much | 17:50 |
jmazaredo | ok will try to sabotage my pc now :) | 17:50 |
jmazaredo | i will run the command | 17:50 |
RoyK^ | you'll have to make sure ip forwarding is enabled in the kernel, though | 17:50 |
RoyK^ | well, no, I don't think you will need that | 17:50 |
jmazaredo | think all kernels can forward | 17:51 |
RoyK^ | they _can_ | 17:51 |
jmazaredo | using 8.04 desktop | 17:51 |
RoyK^ | I can jump out of the window, but that doesn't make it likely for me to want to | 17:51 |
jmazaredo | 0_0 | 17:51 |
RoyK^ | see sysctl -a | grep forward | 17:52 |
RoyK^ | there's a setting in kernel wheather or not to do ip forwarding | 17:52 |
jmazaredo | its all = 0? | 17:53 |
RoyK^ | then kernel won't forward packages | 17:53 |
jmazaredo | why is that | 17:53 |
RoyK^ | well, just set it to 1 | 17:53 |
RoyK^ | /etc/sysctl.conf | 17:54 |
RoyK^ | you don't necessarily want your box to work as a router | 17:54 |
jmazaredo | firestarter makes your box like a router right? | 17:55 |
RoyK^ | just enable ipv4 routing | 17:56 |
RoyK^ | in sysctl.conf | 17:56 |
jmazaredo | got it | 17:56 |
RoyK^ | it's the kernel doing the routing after all | 17:56 |
RoyK^ | not some fancy userspace software | 17:56 |
jmazaredo | :) | 17:57 |
jmazaredo | will restart the network dont jump on the window ok | 17:57 |
RoyK^ | hehe | 17:57 |
RoyK^ | jmazaredo: there's no need to restart anything to make those changes work | 17:58 |
RoyK^ | just sysctl -p | 17:58 |
jmazaredo | still aint workin | 18:01 |
jmazaredo | will try again | 18:02 |
RoyK^ | jmazaredo: there's no need to restart anything to make those changes work | 18:02 |
RoyK^ | just sysctl -p | 18:02 |
RoyK^ | telnet to ip:port to see what's happening | 18:02 |
jmazaredo | nothing | 18:05 |
jmazaredo | will try to flush | 18:05 |
RoyK^ | flush what? | 18:05 |
=== Guest3335 is now known as au | ||
=== au is now known as Guest44625 | ||
jmazaredo | still not working | 18:21 |
jmazaredo | 0_0 | 18:21 |
ChrisRut | so there is the 'time' command which will output the time taken to run a process (i.e. time ls), is there a command I can run that will tell me the cpu usage (min,max,average) during a process (for that given process) ? | 18:35 |
ChrisRut | for benchmarkign | 18:38 |
ChrisRut | *benchmarking | 18:38 |
=== airells is now known as Airells | ||
pwnguin | ChrisRut: not as easy as time, but bootchart can probably be hacked to do what you want | 18:59 |
pwnguin | however, min, max and average by themselves are meaningless | 19:00 |
pwnguin | the min will be 0 and max will be 100 | 19:00 |
pwnguin | average will just be user time / wall clock time | 19:05 |
ChrisRut | right about min & max... but time's man says it can output cpu utilization(http://unixhelp.ed.ac.uk/CGI/man-cgi?time) using 'P' ? | 19:05 |
pwnguin | P Percentage of the CPU that this job got. This is just | 19:06 |
pwnguin | user + system times divided by the total running time. It | 19:06 |
pwnguin | also prints a percentage sign. | 19:06 |
pwnguin | all this really tells you is whether the bottleneck is CPU or not | 19:06 |
ChrisRut | gotcha, Thanks pwnguin | 19:07 |
pwnguin | i think the manpage for time and the binary don't match | 19:09 |
pwnguin | yea, | 19:10 |
pwnguin | Users of the bash shell need to use an explicit path in order to run the external time command and not the shell builtin variant.\ | 19:10 |
chocamo | I am installing server edition 10.04 beta and I can get a dhcp address during the install, but after installation and reboot I cannot get an IP on either my wired or by hooking up a wireless device | 19:17 |
=== Guest44625 is now known as au | ||
=== au is now known as Guest58252 | ||
MTecknology | How can I reset all permissions on a home directory to their default settings? | 19:37 |
sherr | MTecknology: if you know the perms you want, you can use find/exec/chmod to change all file (f) perms, and dir (d) perms etc. | 19:41 |
MTecknology | sherr: what should I use for files/dirs with chmod? | 19:42 |
sherr | Something like : find . -type f -exec chmod 755 {} \; | 19:51 |
sherr | man find (and test/take care) | 19:51 |
MTecknology | 755/744 sound good enough? | 19:52 |
sherr | oops - that example if for "d" | 19:52 |
sherr | f -> 644 | 19:52 |
sherr | d -> 755 (maybe) | 19:52 |
MTecknology | ok, thanks | 19:52 |
sherr | Don;t know defaults | 19:52 |
MTecknology | i don't either, 755/644 sounds great | 19:53 |
MTecknology | alrighty - time to get cleaned up | 19:53 |
guntbert | MTecknology: if you don't want anybody your files you might want to use rather 750 or 640 .. | 19:55 |
MTecknology | guntbert: sherr: thanks | 19:57 |
guntbert | MTecknology: you're good if you figured out my sentence ... :-) | 20:00 |
MTecknology | guntbert: made perfect sense | 20:17 |
=== Guest58252 is now known as au | ||
=== au is now known as Guest42763 | ||
ruben23 | hi how do i remove startscript of an application on my ubunt-server | 20:30 |
mealstrom | man update-rc.d | 20:34 |
mealstrom | there is a remove section | 20:34 |
=== Guest42763 is now known as au | ||
=== au is now known as Guest6076 | ||
ruben23 | hi guys modprobe load an application right..? how about to remove..? | 21:39 |
PcCowboy2005 | Hi | 21:40 |
guntbert | ruben23: it loads a module, you can unload it with sudo modprobe -r <modulename> | 21:42 |
ruben23 | FATAL: Module dahdi is in use. | 21:42 |
ruben23 | guntbert: thats the message | 21:42 |
PcCowboy2005 | hello. can you answer a most likey stupid/easy question for me? | 21:43 |
guntbert | ruben23: of course - a module that is currently used cannot be unloaded - try to see what it is with lsmod | grep dahdi | 21:43 |
guntbert | PcCowboy2005: not if we don't hear it :-) | 21:43 |
PcCowboy2005 | how would you set up a subdomain? (eg. forum.mysite.me goes to root/forum) | 21:44 |
guntbert | PcCowboy2005: here I have to pass ... sorry | 21:44 |
ruben23 | guntbert: its empty | 21:45 |
guntbert | ruben23: please !pastebin the output of lsmod | 21:46 |
guntbert | !pastebin | ruben23 | 21:46 |
ubottu | ruben23: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 21:46 |
PcCowboy2005 | oh...ok lol maybe not so easy. i know on a normal web host i just make a pointer. but i'm thinking for running my own server from home and was wondering how to do it. | 21:46 |
ruben23 | http://pastebin.com/uqzkgWS7 | 21:47 |
guntbert | ruben23: strange - and you are certain that the modules name is dahdi ? | 21:49 |
rohanroy | Hey all, I've setup a VPN on a remote server using PPTP and CHAP Authentication on an Ubuntu 8.04 Server. Here in California, I can connect to my VPN on my mac, and Windows XP machines. I'm trying to setup a virtual machine on my home server running Ubuntu 9.10 via VirtualBox, VM is running: Ubuntu 8.04 JeOS. I would like this virtual machine to have a persistent connection to the PPTP VPN. I've managed to set it up so it successfully joi | 21:51 |
rohanroy | VPN, I can ping and traceroute properly to the VPN server and other clients on the remote LAN. However, I would like to have it so that ALL TRAFFIC is routed through the VPN tunnel. I'm following the information here: http://pptpclient.sourceforge.net/routing.phtml#automatic-setup However, I'm having difficulty getting it to work. Is there anyone here who can provide any help? | 21:51 |
ruben23 | guntbert: thanks i thnk i have unloaded the dahdi startup script. | 21:53 |
guntbert | ruben23: you're welcome :-) | 21:53 |
rohanroy | Anyone know anything about routing all trafic through a VPN tunnell? | 22:00 |
rohanroy | Everything I've found online describes how to do it with a gui, but I have no gui... | 22:00 |
darkpixel | Anyone know what's up with nz.archive.ubuntu.com? I'm getting 'no route to host' on about 5 boxes I manage, and timeouts on another 4. They are spread out across multiple hosting providers and small business connections (Comcast, Qwest, Sprint/Embarq, etc...) around Washington and Oregon state. | 22:05 |
darkpixel | (This has been going on all day) | 22:05 |
=== Guest6076 is now known as au | ||
=== au is now known as Guest85012 | ||
=== au__ is now known as au | ||
=== au is now known as Guest24477 | ||
RoAkSoAx | kirkland`, ping | 23:27 |
=== Guest66070 is now known as samferry | ||
=== samferry is now known as sam_ | ||
rohanroy | Hey all, I've setup a VPN on a remote server using PPTP and CHAP Authentication on an Ubuntu 8.04 Server. Here in California, I can connect to my VPN on my mac, and Windows XP machines. I'm trying to setup a virtual machine on my home server running Ubuntu 9.10 via VirtualBox, VM is running: Ubuntu 8.04 JeOS. I would like this virtual machine to have a persistent connection to the PPTP VPN. I've managed to set it up so it successfully joi | 23:44 |
rohanroy | VPN, I can ping and traceroute properly to the VPN server and other clients on the remote LAN. However, I would like to have it so that ALL TRAFFIC is routed through the VPN tunnel. I'm following the information here: http://pptpclient.sourceforge.net/routing.phtml#automatic-setup However, I'm having difficulty getting it to work. Is there anyone here who can provide any help? | 23:44 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!