[00:02] 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:21] ping... [00:35] I had problems with wireless in 9.10, which worked perfectly in 9.04 [00:35] so i finally went back to 9.04 [00:35] you might consider trying your setup on a 9.04 install [00:35] if you get desperate i guess === ShadeS_ is now known as ShadeS [01:18] hi are there ways to optimize ubuntu-server default.. [01:23] ruben23, you're going to have to be more specific -- ubuntu server is optimized for typical situations out of the box [01:30] qman__: what are ways i can enhance and optimize ubuntu-server. my application need extensive processing... [01:44] ruben23, ubuntu server has no superfluous or performance-hindering configurations by default [01:44] there are some things you may be able to remove, but they would also remove functionality [01:44] if a base ubuntu server install is not fast enough, you probably need faster hardware [01:53] qman__:ill take that...i just heard from other modifying kernel stack to preven memory leak.it hink thats wrong. [01:54] a memory leak is a different problem [01:54] if your kernel is leaking memory, it needs to be fixed, probably by updating it [01:55] if your program is leaking, you need to complain to whoever wrote it [02:00] qman__: thank you for clarity. [02:07] qman__: there's ways to speed it up... [02:08] I figure it's the perfect balance between instant usability, security, and speed [02:08] although I wouldn't mind sacraficing a little usability for the sake of more security [02:09] MTecknology:hows that..? [02:09] * genii sacrifices a goat to MTecknology's cause [02:10] giovani: :P [02:10] genii: * [02:11] ruben23: I tend to remove a lot of cruft from a basic server install, but overall it's not bad [02:11] I kinda wish we offered a hardened kernel [02:11] genii: you should see my kernel config :P [02:14] MTecknology:you re compile the kernel. [02:15] ruben23: ya, for my own laptop (only system) - not the servers I run [02:16] ow ok, im just worried on my ubuntu-server i ahd it keeps getting high loadavg- up 12.0:-( [02:18] you check top output? === robbiew is now known as robbiew_ [02:19] im using htop [02:20] ruben23: how many cpus? [02:20] I don't trust htop, never seems completely accurate [02:21] i got dual core xeon-intel. [02:21] 2.4Ghz [02:21] Check iotop then [02:23] Pici: i think the application itself are putting the high load [02:23] MTecknology, how is htop not accurate? [02:24] whats the difference betwwen buffer memory to cached memory.. [02:24] apache under any normal use seems to add a plenty high load [02:24] buffer is in the processor [02:25] MTecknology, im interested in the specifics of htop being inaccurate [02:25] how about cached..? [02:25] cached is held in memory but not being used, for being quickly recalled [02:26] 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] cached is the ram [02:26] Cache Memory can be accessed more quickly by the computer microprocessor than it can be accessed by regular RAM [02:27] well cached is usually in the ram [02:27] bogeyd6: there are times where I see top and htop disagree [02:28] run on the same box? [02:29] ya [02:29] same time [02:29] 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] best as I know how to explain it very simply unless i'm wrong [02:30] i know about the memory usage calculation [02:30] bogeyd6: I could be wrong and there could be bugs that were addressed in the time since I used it last - ~4yr [02:30] but running htop and top at the same is very easy to see the disagreement and why [02:31] I've not had any issues running htop myself [02:31] Pici, you did on the memory calculation and didnt know it [02:32] Pici, fear not it was just the buffer usage [02:33] ruben23: you have a cpu load of 12.0 ? for how long? [02:34] 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] to correct. [02:34] ruben23, which app? [02:35] ruben23: geez, change your h/w and/or your app [02:35] bogeyd6: its a dialer system..for voice calling-asterisk, and he do recordings [02:35] ruben23, i read your past convo and it seems no one told about the ubuntu linux rt kernel [02:35] qman__: what are ways i can enhance and optimize ubuntu-server. my application need extensive processing... [02:36] bogeyd6: yes whats rt kernel.? [02:36] real time processing [02:36] linux has an inherent delay in processing [02:36] ruben23: even a consistent load of 2.0 is terrible [02:36] !realtime [02:36] bogeyd6: so what happens with it? had to run [02:36] pmatulis: yeah its true..worst is 12.0 [02:37] !rt | ruben23 [02:37] 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] ruben23, https://rt.wiki.kernel.org/index.php/Main_Page [02:38] 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:39] th recommend distro version for my apps is ubuntu-server 8.10 LTS [02:39] 8.04 lts [02:39] bogeyd6: this process is kernel recompile and patching it up..? [02:39] sorry [02:39] !lts [02:39] 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:40] ruben23, as simple as apt-get install linux-rt [02:40] bogeyd6:ow , wow this is a big help.. [02:40] reboot and try it [02:40] if you dont like, remove it and reboot [02:41] I wonder how hard it is to write a useful OS from scratch... [02:41] upgrading to karmic will be even more beneficial but who knows if your app is supported [02:41] 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:42] ruben23: what app? [02:42] MTecknology, debian sarge had over 230 million lines of code [02:42] that's with the kernel and everything? [02:42] MTecknology: asterisk, with a couple of record apps, like sox and lame. [02:43] MTecknology, the whole release [02:43] ruben23, linux-rt is included in ubuntu studio because of the audio and video processing [02:43] bogeyd6: if you have 10 million devs that's ion 23 million lines each :P [02:43] ruben23, asterisk is available on karmic [02:43] MTecknology, http://www.dwheeler.com/sloc/ === au__ is now known as au [02:44] !asterisk [02:44] !voip | ruben23 [02:44] 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] bogeyd6: yes it the backend of my apps, using viciidal-created through perl script. === au is now known as Guest50113 [02:45] i would try the linux-rt kernel which is made for sound processing and see how far tht gets you [02:45] http://astguiclient.sourceforge.net/vicidial.html <-------see ubuntu is recommended..best [02:46] 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] bogeyd6:i will also try it to karmic- the goal is to lessen up loadavg generated.. [02:48] !ymmv | ruben23 [02:48] 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] bogeyd6: this is a big help, thanks so much, il test it on production.. [02:48] :) [02:49] we aim to please here at ubuntu [02:49] bogeyd6:does karmic already have the rt kernel..? [02:50] ruben23, no it doesnt. you install and you "sudo apt-get install linux-rt" and reboot the server [02:52] bogeyd6: got one more clarification [02:52] ruben23, k [02:53] 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] hmm [02:56] bogeyd6: what you think..? [02:56] ruben23, http://pastebin.com/Lj2YrMh9 [02:57] im not sure about why you need the linux-source but it cant hurt [02:57] ok i will omit linux source-im not needing it actually. [02:58] ill replace linux source with rt linux install [02:58] kk [02:59] thanks === Guest50113 is now known as au === au is now known as Guest61037 [03:06] bogeyd6:if i install linux rt- do i need to install linux header again..? or no need [03:07] not if you followed the order i did it in [03:08] ruben23: install kernel/header; reboot [03:09] !info harden [03:09] 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] ruben23: you ever mess with that? [03:09] bogeyd6: * [03:15] bogeyd6: how do i cehck if rt-kernel is installed propoerly [03:16] 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] cat /etc/lsb-release [03:17] wait sorry im dumb [03:19] ok === Guest61037 is now known as au === au is now known as Guest49270 [05:01] 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 === Guest49270 is now known as au === au is now known as Guest18098 [05:10] sekyourbox: that doesn't sound like a server issue. [05:11] I need to do this for my server [05:11] I cant set up a server with network manager [05:20] sekyourbox: hm? [05:21] MTecknology [05:21] sekyourbox: vim /etc/networking/interfaces [05:22] I know how to set it up, i just need to know how to get wpa_supplicant to recognise the driver. [05:22] sekyourbox: you generally want the generic wext driver these days. [05:22] you just need to have the driver loaded, the rest should be magic [05:24] Wext isn't working for me [05:24] it connects but wont grab a DHCP address [05:24] I dont want to set up a static address [05:24] AND i want to use madwifi [05:25] why don't yyou want a static ip for a server? [05:26] 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:27] so its actually a workstation/server [05:27] I will also eventually be setting other things that need network manager to be disabled [05:39] looks like I need to re-compile wpa_supplicant === Guest18098 is now known as au === au is now known as Guest34415 [06:24] hi! i have an Ubuntu Server 9.04 with Error 16: Inconsistent filesystem structure during boot up [06:25] I've used a LiveCD to fsck the ext2 /boot partition [06:25] and it is marked as clean [06:26] what else do i need to do? === Guest34415 is now known as au === au is now known as Guest17057 [07:37] Carbon_Monoxide: A google brings up some hits - looks like a serious issue and not solved by many ... filesystem issue/corruption [07:37] 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:38] One person backed up the kernel and made a copy of it for boot : [07:38] http://bbs.archlinux.org/viewtopic.php?id=72686 [07:38] Maybe you will get lucky. Good luck. === 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 [14:08] hi there [14:08] I'm testing ubuntu 10.04 and find something really annoying [14:08] no verbose output on boot [14:08] is there a way to fix this? [14:12] Remove "quiet" from the kernel boot parameters. === Guest40026 is now known as au [14:12] Depending on what you mean by "verbose". [14:13] nop [14:13] I think there's further output if you add "debug" or someting. [14:13] kernel messages show fine === au is now known as Guest72928 [14:13] ricdanger1: did you install from the server CD? [14:13] but everything from init-bottom is just black [14:13] sure [14:13] both minimal and regular [14:13] btw, regular installs plymouth. [14:13] Oh, it's THAT [14:13] Hit Ctrl+Alt+F1 [14:13] so there is a splash, but still no boot messages [14:14] There's a vt switching issue. [14:14] Ctrl+Alt+F1 shows the caret scrolling vertically but not a single output from init scripts [14:14] it's like the messages are being printed black in black [14:14] OK, at this point I'm just going to say that I don't know. [14:15] this is really annoying [14:15] 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] hope it gets fixed [14:15] do you know where can I fill a bug for thgis? [14:15] twbn: without plymouth (virtual or minimal install), you only get a black space without any output [14:15] Dunno [14:15] so, the problem is there [14:16] The usual ubuntu bug reporting procedures should apply [14:16] sure [14:16] !malone [14:16] 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] but what package should this be related? [14:16] I filled on upstart [14:16] ricdanger1: best guess, and they'll reassign it if you're wrong [14:16] upstart or plymouth are reasonable guesses IMO [14:18] btw [14:18] http://launchpadlibrarian.net/41417613/LucidBoot.png [14:18] here is the boot result [14:19] the more services I add, the more scrolled down the prompt is [14:19] Hmm, what provides the LSB script library [14:19] ricdanger1: do you have lsb-base installed? Check its bug list. [14:20] https://launchpad.net/ubuntu/+source/upstart/0.6.5-5 [14:20] they have here something about foreground color [14:20] fixed on 0.6.5-5 (the one I'm running) [14:20] maybe this is why the text is black now === Guest72928 is now known as au === au is now known as Guest38731 === Guest38731 is now known as au === au is now known as Guest34842 [16:34] can you forward 192.168.0.15:80 to 192.168.0.16:80? [16:34] so that if 192.168.0.17 request webpage on 192.168.0.15 will go to 192.168.0.16 === Guest34842 is now known as au === au is now known as Guest3335 [17:37] jmazaredo: there are several ways to do that :) [17:39] i need!\ [17:39] how? [17:39] proxying? [17:40] iptables can help you, but a simple redirect is easier [17:40] http://ubuntuforums.org/showthread.php?t=1434586 [17:40] thats my problem [17:40] [17:40] posted in the thread [17:40] iptables perhaps [17:41] iptables -A PREROUTING -t nat -i wlan0 -p tcp --dport 80 -j DNAT --to 192.168.0.155:80 [17:41] iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i wlan0 -j ACCEPT [17:41] the problem is the other box is in virtualbox [17:41] why would that be a problem? [17:42] if using NAT in vbox, you'll need their own port forward [17:42] the adapter is bridged [17:42] so they are on same network [17:45] sorry. fell out [17:46] :) [17:47] in the internet i only see forwarding external to internal [17:47] there isn't really a big difference [17:47] just two sides [17:48] 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] all request from that pc will go to 192.168.0.155:80? [17:49] yes [17:49] iptables -A FORWARD -p tcp -m state --state NEW --dport 80 -i wlan0 -j ACCEPT [17:49] that is, it'll forward the request [17:49] that one? [17:50] that one will accept routing in the FORWARD chain if that is already blocked by policy [17:50] if the policy is ACCEPT, it won't do much [17:50] ok will try to sabotage my pc now :) [17:50] i will run the command [17:50] you'll have to make sure ip forwarding is enabled in the kernel, though [17:50] well, no, I don't think you will need that [17:51] think all kernels can forward [17:51] they _can_ [17:51] using 8.04 desktop [17:51] I can jump out of the window, but that doesn't make it likely for me to want to [17:51] 0_0 [17:52] see sysctl -a | grep forward [17:52] there's a setting in kernel wheather or not to do ip forwarding [17:53] its all = 0? [17:53] then kernel won't forward packages [17:53] why is that [17:53] well, just set it to 1 [17:54] /etc/sysctl.conf [17:54] you don't necessarily want your box to work as a router [17:55] firestarter makes your box like a router right? [17:56] just enable ipv4 routing [17:56] in sysctl.conf [17:56] got it [17:56] it's the kernel doing the routing after all [17:56] not some fancy userspace software [17:57] :) [17:57] will restart the network dont jump on the window ok [17:57] hehe [17:58] jmazaredo: there's no need to restart anything to make those changes work [17:58] just sysctl -p [18:01] still aint workin [18:02] will try again [18:02] jmazaredo: there's no need to restart anything to make those changes work [18:02] just sysctl -p [18:02] telnet to ip:port to see what's happening [18:05] nothing [18:05] will try to flush [18:05] flush what? === Guest3335 is now known as au === au is now known as Guest44625 [18:21] still not working [18:21] 0_0 [18:35] 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:38] for benchmarkign [18:38] *benchmarking === airells is now known as Airells [18:59] ChrisRut: not as easy as time, but bootchart can probably be hacked to do what you want [19:00] however, min, max and average by themselves are meaningless [19:00] the min will be 0 and max will be 100 [19:05] average will just be user time / wall clock time [19:05] 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:06] P Percentage of the CPU that this job got. This is just [19:06] user + system times divided by the total running time. It [19:06] also prints a percentage sign. [19:06] all this really tells you is whether the bottleneck is CPU or not [19:07] gotcha, Thanks pwnguin [19:09] i think the manpage for time and the binary don't match [19:10] yea, [19:10] 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:17] 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 === Guest44625 is now known as au === au is now known as Guest58252 [19:37] How can I reset all permissions on a home directory to their default settings? [19:41] 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:42] sherr: what should I use for files/dirs with chmod? [19:51] Something like : find . -type f -exec chmod 755 {} \; [19:51] man find (and test/take care) [19:52] 755/744 sound good enough? [19:52] oops - that example if for "d" [19:52] f -> 644 [19:52] d -> 755 (maybe) [19:52] ok, thanks [19:52] Don;t know defaults [19:53] i don't either, 755/644 sounds great [19:53] alrighty - time to get cleaned up [19:55] MTecknology: if you don't want anybody your files you might want to use rather 750 or 640 .. [19:57] guntbert: sherr: thanks [20:00] MTecknology: you're good if you figured out my sentence ... :-) [20:17] guntbert: made perfect sense === Guest58252 is now known as au === au is now known as Guest42763 [20:30] hi how do i remove startscript of an application on my ubunt-server [20:34] man update-rc.d [20:34] there is a remove section === Guest42763 is now known as au === au is now known as Guest6076 [21:39] hi guys modprobe load an application right..? how about to remove..? [21:40] Hi [21:42] ruben23: it loads a module, you can unload it with sudo modprobe -r [21:42] FATAL: Module dahdi is in use. [21:42] guntbert: thats the message [21:43] hello. can you answer a most likey stupid/easy question for me? [21:43] ruben23: of course - a module that is currently used cannot be unloaded - try to see what it is with lsmod | grep dahdi [21:43] PcCowboy2005: not if we don't hear it :-) [21:44] how would you set up a subdomain? (eg. forum.mysite.me goes to root/forum) [21:44] PcCowboy2005: here I have to pass ... sorry [21:45] guntbert: its empty [21:46] ruben23: please !pastebin the output of lsmod [21:46] !pastebin | ruben23 [21:46] 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] 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:47] http://pastebin.com/uqzkgWS7 [21:49] ruben23: strange - and you are certain that the modules name is dahdi ? [21:51] 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] 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:53] guntbert: thanks i thnk i have unloaded the dahdi startup script. [21:53] ruben23: you're welcome :-) [22:00] Anyone know anything about routing all trafic through a VPN tunnell? [22:00] Everything I've found online describes how to do it with a gui, but I have no gui... [22:05] 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] (This has been going on all day) === Guest6076 is now known as au === au is now known as Guest85012 === au__ is now known as au === au is now known as Guest24477 [23:27] kirkland`, ping === Guest66070 is now known as samferry === samferry is now known as sam_ [23:44] 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] 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?