uvirtbot | New bug: #420813 in openssh (main) "ssh blacklisting of private keys 9.04_64" [Undecided,New] https://launchpad.net/bugs/420813 | 00:01 |
---|---|---|
jumbers | Does anybody know of a VPN server that's easy to set up? Doing some packet sniffing on my local network has made me paranoid of what could be accomplished in public | 02:49 |
qman__ | jumbers, I use openVPN, though I wouldn't say it's particularly easy to set up | 03:07 |
qman__ | it helps if you understand how SSL and certificates work, and routing | 03:08 |
qman__ | if you're just looking for something simpler for a particular use, ssh tunneling goes a long way | 03:09 |
twb | Hear, hear. | 03:10 |
jumbers | If I SSH tunnel, can I do it so that it tunnels traffic on all ports? | 03:36 |
jumbers | I know it can be done on a single port basis | 03:37 |
qman__ | no, only one port per tunnel | 03:38 |
qman__ | for more than a couple, you'll need a full-on VPN, like openVPN | 03:38 |
qman__ | SSH tunneling also can't do UDP ports (to my knowledge) | 03:39 |
jumbers | Hmm, then it looks like I'm going to need openVPN | 03:40 |
twb | ssh is also tcp-based, so you get the tcp-over-tcp resend hysteresis problem. | 03:43 |
twb | However you CAN do UDP over ssh tunnels (-w), but not simple port forwarding (-R/-L). | 03:44 |
twb | I did that for syslog once, it was fugly. | 03:44 |
* ScottK waits impatiently for lamont to upload the new Postfix release. | 04:05 | |
phylogenesis | I have a server setup with ubuntu server edition, but I'm having trouble with the network. I connected directly to it via a crossover ethernet cable, but when I copy more than a few hundred megabytes of files, somewhere randomly in the middle, the connection will drop and I get a "No route to host" error until I restart the server. (I've tried restarting ntp, ssh, and proftp all to no avail) I've used sftp to try to copy files as well as | 04:36 |
phylogenesis | scp and both freeze and drop connection. | 04:36 |
phylogenesis | How do I stop it from freezing? Is there a setting which prevents more than a certain amount of data? | 04:37 |
phylogenesis | I still have 30GB of hdd space on the server, and I've only used about 16 so far copying on to it. | 04:37 |
phylogenesis | The server is running Ubuntu Server edition 9 I think, and I'm trying to copy data onto it from Fedora 11. | 04:39 |
ScottK | Ubunty versions have a month and a year. Do you mean 9.04? | 04:41 |
phylogenesis | I believe so | 04:45 |
phylogenesis | Yes, cat /etc/issue says 9.04 | 04:46 |
ScottK | This is generally a pretty quiet time of day. | 04:46 |
ScottK | I'd recommend seeing what network card you have using lspci and then Google. | 04:47 |
phylogenesis | Is 802.11bg a wireless thing or just a network thing? (I see two, and I want to see which is for the wired) | 04:48 |
PhotoJim | 802.11bg is WiFi (wireless) | 04:50 |
PhotoJim | lspci | grep Ethernet | 04:51 |
phylogenesis | Nothing online will tell me what the ethernet card is, I suspect it's onboard. lspci tells me "Realtek Semiconductor Co., Ltd. RTL-8139... | 04:53 |
phylogenesis | (It's a Toshiba Satellite A105-S2061 btw) | 04:53 |
PhotoJim | that's a common on-board chipset. | 04:54 |
PhotoJim | my old router has an RTL-8139 apparently. | 04:54 |
phylogenesis | I don't suppose there's simple setting I can change that will allow me to copy lots of data onto the server without disconnecting? (As in, is there something that prevents large data transfer?) | 04:55 |
PhotoJim | over a LAN? you need to figure out what's causing the disconnections first. | 04:56 |
phylogenesis | over a direct cable connection via a crossover ethernet cable | 04:56 |
PhotoJim | the obvious thing to check is the cable. | 04:57 |
PhotoJim | I can move gigabytes of data on my LAN (through a switch, mind, not computer-to-computer) without interruptions. | 04:57 |
phylogenesis | Do you have any ideas as to what could be doing it? Any ideas on how I could test it in other ways? What can I check about the cable? It's hardly been used, it should be in great shape. | 04:57 |
PhotoJim | there's nothing wrong with the RTL-8139. | 04:57 |
PhotoJim | It could be a defective cable. It's not a common fault, but it's possible. | 04:58 |
PhotoJim | I gues one thing you could do is to install ethtool, and see if your NICs are in full duplex mode. | 04:58 |
PhotoJim | connecting directly, they might have issues autonegotiating speed and duplex. | 04:58 |
PhotoJim | (just a theory.) | 04:58 |
phylogenesis | If it were the cable, wouldn't it be an all or nothing thing, rather than failing after copying tons of data successfully? | 04:59 |
PhotoJim | not necessarily. | 04:59 |
PhotoJim | but usually, you're right. | 04:59 |
phylogenesis | I'll switch to a standard cable and try again | 04:59 |
twb | If neither NIC is 1000baseT, you can't rely on them to autonegotiate sensibly | 04:59 |
PhotoJim | a standard cable won't work unless you use a hub or switch. | 04:59 |
twb | PhotoJim: wrong | 04:59 |
PhotoJim | twb: did your mother not teach you how to be polite? there are more respectful ways to disagree. | 05:00 |
twb | Even recent 100baseT NICs will negotiate crossover correctly. | 05:00 |
PhotoJim | twb: unless you know he has two of those, then you don't know that that's relevant. | 05:00 |
twb | A standard cable *might* work as a crossover cable, if at least one NIC is sane. | 05:00 |
PhotoJim | alright. might, not won't. | 05:00 |
ScottK | twb: Well since he HAS a crossover cable, how is that relevant. | 05:01 |
twb | ScottK: because the cable might be bad. | 05:01 |
PhotoJim | I suspect it's a speed/duplex mismatch. probably duplex. ethtool will tell us. | 05:01 |
twb | PhotoJim: I agree. | 05:01 |
phylogenesis | I do have to do "sudo ifconfig eth0 192.168.2.101" to get my IPs to match so that I can connect at all. | 05:02 |
twb | phylogenesis: nothing wrong with that | 05:02 |
phylogenesis | damn | 05:02 |
PhotoJim | I'm not a big fan of connecting NIC to NIC, but I can't tell you that I feel that way based on logic. I just like the flexibility of being able to add additional machines to the network. | 05:02 |
twb | PhotoJim: I don't like it because all my gear is too old and shit to autonegotiate, and a switch is easier to find than a crossover cable | 05:03 |
phylogenesis | Does the fact that I have to completely restart the server after a failed transfer say anything? | 05:03 |
phylogenesis | If I don't I just keep getting a "No route to host" error | 05:03 |
twb | phylogenesis: are you running NetworkManager? | 05:03 |
phylogenesis | Man I wish I hadn't left my router at home :-/ | 05:04 |
PhotoJim | twb: good reason. I have everything from stuff on AUI 10BaseT to gigabit stuff on my switch. | 05:04 |
phylogenesis | twb: on the server I only have command line so I'm not sure. I'm not specifically running that but it may be running automatically. | 05:04 |
PhotoJim | phylogenesis: you need to get yourself a small switch and keep it in your bag o' bits. :) | 05:04 |
twb | phylogenesis: pgrep Network | 05:04 |
twb | phylogenesis: do you get a number? | 05:04 |
PhotoJim | I think Network Manager runs by default on Ubuntu. | 05:04 |
phylogenesis | one sec, gotta wait to the machine starts back up | 05:04 |
twb | PhotoJim: only on desktop installs IME | 05:05 |
phylogenesis | proftpd is taking a very long time to start now | 05:05 |
twb | Use SFTP and/or vsftpd, not proftpd. | 05:05 |
PhotoJim | twb: that could be. I'm not 100% sure it installed on my server. I had issues with it, so I think it did but I didn't make notes. | 05:05 |
phylogenesis | I was, but I installed proftpd when I set up the machine | 05:05 |
phylogenesis | so it starts up at startup | 05:05 |
phylogenesis | "pgrep Network" returns nothing | 05:06 |
twb | phylogenesis: good. Then the problem is probably something NEARLY as dumb. | 05:06 |
PhotoJim | DHCP? could it interfere? | 05:06 |
PhotoJim | it should fail elegantly. | 05:06 |
twb | phylogenesis: instead of doing ifconfig, configure the static network in /etc/network/interfaces | 05:06 |
phylogenesis | Oh, my server is using a static IP, I set it to use 192.168.2.100 when I had my router, and it seems to have kept that up (I don't see why it wouldn't just pointing it out) | 05:07 |
twb | PhotoJim: dhclient will break him if he's doing-it-wrong, though it's surprising that he's tripping it. | 05:07 |
PhotoJim | twb: might be wise to disable it here, to rule it out. | 05:07 |
twb | phylogenesis: "no route to host" means that something is eating your point-to-point route | 05:07 |
phylogenesis | I'm getting behind here: What should I try next? | 05:08 |
phylogenesis | edit /etc/network/interfaces? | 05:08 |
twb | phylogenesis: yes. | 05:08 |
twb | Back it up first | 05:09 |
twb | phylogenesis: oh, first: do you have physical access to this machine? | 05:09 |
phylogenesis | Edit it how? should I just comment out the iface eth0 inet static and following lines? | 05:09 |
phylogenesis | yes | 05:09 |
phylogenesis | I have two laptops in front of me, this one is my main one (client, running Fedora 11), and the other is the server (running Ubuntu Server 9.04) | 05:10 |
twb | You want it to basically contain a single interface, "iface eth0 inet static" "address 192.168.2.100" "pointtopoint 192.168.2.101" where .2.101 is your other box's IP | 05:10 |
twb | Ah, I guess you need "netmask 255.255.0.0" or so, too. It's a bodge, but it should suffice for now. | 05:11 |
phylogenesis | Can you pastebin what I should have in it? I have pretty close to what you said already. | 05:11 |
twb | phylogenesis: pastebin what you have now | 05:12 |
phylogenesis | http://pastebin.com/d24f1ccc1 | 05:14 |
phylogenesis | My router was 192.168.2.1 when I had it here | 05:15 |
phylogenesis | twb, should I install that eth tool? | 05:17 |
twb | No, that makes sense. | 05:18 |
twb | I dunno what's going wrong. | 05:18 |
twb | You definitely got "no route to host", and DIDN'T get "destination host unreachable"? | 05:18 |
phylogenesis | "scp -r /files/Music phylogenesis@192.168.2.100:/home/phylogenesis/backup/Music" returns "ssh: connect to host 192.168.2.100 port 22: No route to host\nlost connection" | 05:19 |
PhotoJim | "ip route" ... ? | 05:19 |
phylogenesis | 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.101 10.32.2.0/24 dev eth1 proto kernel scope link src 10.32.2.55 metric 2 default via 10.32.2.1 dev eth1 proto static | 05:20 |
phylogenesis | I'm sorry, that's on my client machine | 05:21 |
phylogenesis | so is the "no route to host" message | 05:21 |
phylogenesis | is that what you were asking for? | 05:21 |
phylogenesis | on the server I get: "192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.100\ndefault via 192.168.2.1 dev eth0 metric 100" | 05:22 |
phylogenesis | twb, someone in #fedora suggested that it's an sshd issue | 05:31 |
twb | Sorry, I'm a bit busy | 05:32 |
twb | phylogenesis: I assume you try ping(1) when ssh fails. Does ping work? | 05:32 |
twb | Does your route table change before vs. after the failure? | 05:33 |
twb | Are you transferring data with scp, or doing something more involved with ssh directly? In the latter case, perhaps you have an idle connection that is being interrupted. | 05:33 |
phylogenesis | ping 192.168.2.100 returns "Destination Host Unreachable" whereas it works when I first setup the connection, before I transfer any files | 05:34 |
twb | I'm also assuming you're checking BOTH ends of the connection -- have you confirmed that the machine you're connecting the Ubuntu server *to* is not borked? | 05:34 |
phylogenesis | np about being busy, I'm patient | 05:35 |
phylogenesis | Yeah I went and asked about that, and am trying to talk to them at the same time, which is pretty hard :-P | 05:35 |
phylogenesis | twb, How can I check my routing table? I have standard internet going via wireless at the same time (on the client (fedora) machine only). I'm transferring with scp and not doing anything else with ssh. | 05:37 |
twb | phylogenesis: route -n | 05:37 |
phylogenesis | What should I see there? I see two connections: Destination=192.168.2.0 and 0.0.0.0 (I don't see 192.168.2.101 anywhere) | 05:38 |
twb | pastebin it | 05:51 |
twb | Or better, compare it before and after the failure | 05:51 |
phylogenesis | Okay, but that'll take a bit. (gotta restart, get it to work, and then fail) | 05:52 |
phylogenesis | I'll post when I have that | 05:52 |
phylogenesis | twb, sigh... How can I tell if my computer can connect to the internet? I tried sudo apt-get install ethtool and it failed to connect. I'm thinking, gee maybe this has something to do with it? I'm connected to the internet via an ethernet cable (yet another one). | 06:05 |
phylogenesis | ping www.google.com gives me "Destination Host Unreachable" error | 06:06 |
phylogenesis | *errors* | 06:06 |
twb | You have two NICs? | 06:07 |
phylogenesis | Nvm, it gives me nothing, but ping 66.102.7.104 does (which is googles IP according to this computer) | 06:07 |
phylogenesis | I have one onboard ethernet nic and a wireless one | 06:07 |
phylogenesis | I dare not try to connect wirelessly as the school's wireless is very difficult to get working on any OS | 06:08 |
phylogenesis | and so far I can't connect with my own school credentials (right now I'm on wireless with my client machine thanks to a friend putting his in). However, the wired connection works immediately and easily on my client machine when I use it. | 06:09 |
phylogenesis | twb, it failed again. I plugged in my server to the internet via ethernet. I changed /etc/network/interfaces to use iface eth0 inet dhcp, then downloaded updates and ethtool. I then restarted the server and ran sudo ifconfig eth0 192.168.2.100. On the client I ran sudo ifconfig eth0 192.168.2.101, then "scp -r /files/backup phylogenesis@192.168.2.100:/home/phylogenesis". It ran for about ten minutes then stopped with: "[DB]_Bleach_182_[ | 07:10 |
phylogenesis | 1BD395A7].avi 80% 117MB 0.0KB/s - stalled" The routing table on the server was the same before and after, I forgot to check the routing table on the client before, but the after one is listed: http://pastebin.com/dbcf823 | 07:10 |
phylogenesis | ifconfig on the client still tells me inet: 192.168.2.101 for eth0 | 07:13 |
phylogenesis | neither routing table changed | 07:17 |
samd | hi, im trying to setup a irc server, but i cant conect to it from the outside , ive already forwarded port 6667, any ideas? | 07:19 |
twb | samd: forwarding the port, and then connecting to 127.0.0.1, should be sufficient. | 07:20 |
twb | samd: assuming, of course, that the IRC daemon is running and listening to lo | 07:20 |
samd | twb, i have to be connected to 127.0.0.1, from the server in order to connect from the outside? | 07:21 |
twb | samd: OK, suppose your server's name is "fs", and it's accepting ssh connections from anywhere, but only accepting loopback connections to the IRC server. | 07:23 |
twb | Then ssh fs -xfL 6667:127.0.0.1:6667 && irssi -c 127.0.0.1 | 07:23 |
samd | ill try that | 07:24 |
Boohbah | twb: if samd connects to the irc server on the localhost interface there is no routing or port forwarding needed. unless you want it accessible outside | 07:35 |
samd | ight, so that command basicly connected me trough ssh then connected to the irc as local? | 07:35 |
samd | Boohbah, twb, yea, i want it to be open to some friends,, is there any other port supposed to be opened/routed apart from 6667? | 07:37 |
twb | samd: the command I gave will connect you to the IRC server from anywhere, without opening access to the IRC server to the world. | 07:39 |
twb | It assumes you already have a shell account on the box, of course. | 07:39 |
twb | If you WANT to let arbitrary people connect, you only need port 6667 open AFAIK. | 07:40 |
samd | twb ight, ill chek on that then, yeah,i have ssh acc on the serv, its a old computer running as personal server here at home | 07:41 |
* Boohbah missed the ssh proxy part | 07:58 | |
uvirtbot | New bug: #420957 in samba (main) "package libpam-smbpass 2:3.3.2-1ubuntu3.1 failed to install/upgrade: subprocess post-installation script returned error exit status 139" [Undecided,New] https://launchpad.net/bugs/420957 | 08:11 |
uvirtbot | New bug: #421005 in freeradius (universe) "can't compile version from repository (on 64bit)" [Undecided,New] https://launchpad.net/bugs/421005 | 10:26 |
uvirtbot | New bug: #408306 in dhcp3 (main) "Wireless not connecting to AP, no IP address assigned through DHCP" [Undecided,New] https://launchpad.net/bugs/408306 | 10:36 |
=== xorigin_ is now known as xorigin | ||
roxy09 | hi there somebody now about pount or another web proxy server | 11:51 |
mattt | roxy09: a little? | 11:56 |
roxy09 | i need to install a web mail server and i would like to know wich proxy or another extra web tools i need to install to make safety and fast the access | 11:58 |
mattt | roxy09: web mail server? | 12:25 |
roxy09 | yes | 12:27 |
mattt | roxy09: are you talking about squirrelmail or something to that effect? | 12:28 |
roxy09 | hi there somebody have experience setting a email server with security staff ? i mean antivirus, antispam, etc? | 13:33 |
roxy09 | also which is the best mail delivery agent? | 13:39 |
roxy09 | ao¿nother question amavis-new or greylisted? | 13:40 |
NorthByNorthWest | Anyone here who can help me with an SMB-issue... the samba channel is pretty dead... | 14:06 |
lamont | ScottK: 2.6.5 already? sigh | 14:32 |
lamont | this weekend is swamped - prolly early next week | 14:32 |
slap | I'm reading the manual, and i'm not sure to understand what the line ( domain Local domain name ) is for in the resolv.conf. Can someone help ? | 14:40 |
slap | I understand that nameserver retrieves the server by its IP | 14:41 |
Boohbah | slap: that is the search domain appended to any domain names not found at your resolver | 14:42 |
Boohbah | slap: for example, an internal domain | 14:42 |
slap | that's waht i'm trying to do... | 14:43 |
slap | So if I have a mynetwork.lan... | 14:43 |
Boohbah | search my.local int.my.com | 14:43 |
slap | And I look for mycomputer, the resolver will try to resolv mycomputer.mynetwork.lan ? | 14:44 |
Boohbah | yes | 14:44 |
slap | But if there's already a nameserver 192.168.1.1, do I still need the line domain, or resolv will try with the default server address to map a local machine? | 14:46 |
Boohbah | no, if you have DNS records for mynetwork.lan on your NS at 192.168.1.1 you don't need the search line | 14:47 |
slap | Right to the point. Thanks a lot. | 14:48 |
Boohbah | welcome | 14:48 |
mini_tis | any one here having odd Pam login issues since latest patches in LTS 8.10? | 14:55 |
mini_tis | hmm I mean 8.04 | 14:57 |
tosh | hi everyone | 15:51 |
ScottK | lamont: Yep. | 15:51 |
tosh | anyone know how to get procmail to run on messages after amavis has filtered them? | 15:52 |
tosh | I want spam messages to go into user's junk mail folder | 15:52 |
MatBoy | I have a VPN router in front of a ubuntu box and I want to give users rights on shares and so on when they VPN to it... what should be the best way for this ? users use windows clients | 16:27 |
tosh | does the router handle all the vpn login stuff? | 16:37 |
tosh | anyone know how to get procmail to run on messages after amavis has filtered them? | 16:47 |
_ruben | tosh: that'd be default behaviour for postfix configured with amavis as content_filter and procmail as delivery agent | 16:57 |
tosh | yeah | 17:07 |
tosh | _ruben, I don't think the issue is with amavis, but that postfix isn'ta using procmail for the virtual mailboxes | 17:08 |
Abdullah9 | i need help guys | 17:40 |
Abdullah9 | ? | 17:40 |
Abdullah9 | any one ? | 17:41 |
Abdullah9 | ? | 17:41 |
tosh | Abdullah9, whats the problem? | 17:54 |
Abdullah9 | i installed a new drive for my wireless adapter , "rt2870 " , it seems it don't work | 17:57 |
tosh | where did you get the driver? | 17:57 |
Abdullah9 | http://www.ralinktech.com/ralink/Home/Support/Linux.html | 17:59 |
tosh | did you try just going to System->Administration->Hardware Drivers to see whats there? | 18:00 |
Abdullah9 | yes | 18:02 |
tosh | is it listed there? | 18:03 |
Abdullah9 | i can't find it | 18:03 |
tosh | is this a laptop? | 18:03 |
Abdullah9 | yes | 18:03 |
Abdullah9 | but i am useing USB port | 18:04 |
helix2301 | whats up guys? | 18:04 |
phylogenesis | Hi, I'm having trouble with a connection timing out. I have a laptop running Ubuntu Server 9.04 (server). I have another laptop (client), this one, which runs Fedora 11, that I try to connect to the server with via a direct crossover ethernet cable. Both machines use dhcp so first I run sudo ifconfig eth0 192.168.2.101 on the client and sudo ifconfig eth0 192.168.2.100 on the server. I then use scp to move files from the client hdd to th | 19:20 |
phylogenesis | e server hdd, and it works for about five minutes, but then stalls. If I attempt to rerun the command, I get "No route to host". How can I prevent the connection from timing out? | 19:20 |
phylogenesis | Both machines are fully updated, and I'm attempting to copy over 20GB of data. However, I've also tried using Nautilus in Fedora 11 to transfer data via ssh and it works the same way. Just as with scp, it can copy up to a couple GB before stalling, but even if I copy small chunks at a time, it will eventually stall on one of them. | 19:24 |
simplexio | phylogenesis: .. could be few things | 19:25 |
phylogenesis | I attempted the copy with neither computer connected to the internet and both having the wireless cards switched off, but the exact same thing happened. | 19:25 |
phylogenesis | simplexio, please, any ideas are welcome | 19:25 |
simplexio | phylogenesis: is dhvp server still running, sound like you manually define ip, and did you define default route | 19:25 |
simplexio | if those net stuff is ok, i would check next that you are moving files to linux fs ( those all support big files ) and not something like fat ) | 19:27 |
phylogenesis | I don't think I did. Although, initially the server was using iface eth0 inet static\naddress 192.168.2.100\n etc | 19:27 |
phylogenesis | simplexio, both machines are linux, with the client having a Windows 7 partition, but that isn't where the files are (they are on an ext4 partition I believe) | 19:28 |
simplexio | phylogenesis: but it should affect actually.. if you define ip + mask for inerface then that interface is default route for it | 19:28 |
simplexio | phylogenesis: does dmesg give anything funny about network interfaces | 19:29 |
phylogenesis | Can you explain what exactly to do? (I just spent about 10 hours on this yesterday, so clearly I don't know exactly what to put where) | 19:30 |
phylogenesis | Can I try dmesg without the connection being in place? | 19:30 |
phylogenesis | Unfortunately, my wireless reset on me and I cannot reconnect so I either have my internet connection here, or the crossover connection. | 19:30 |
simplexio | phylogenesis: at anytime.. dmesg tell about stuff that happens in kernel. so if somereason network interface dies or something it there | 19:30 |
phylogenesis | on which machine, the server? | 19:31 |
simplexio | phylogenesis: or both | 19:31 |
phylogenesis | what am I looking for, and would there be anything considering I have not retried the transfer since both computers were restarted? | 19:32 |
phylogenesis | (Btw I have physical access to the server) | 19:32 |
simplexio | phylogenesis: something about eth0/1 .. or about ssh server | 19:33 |
simplexio | phylogenesis: then you could offcourse use mii-tool to check that cards have negotriated right speed | 19:34 |
phylogenesis | I did dmesg | grep eth0 and I got this line for some reason: "eth0: Broadcom BCM4328 802.11 Wireless Controller 5.10.91.9" even though this is my ethernet card that I'm connected to the internet with right now | 19:35 |
phylogenesis | iwconfig says: "eth0 no wireless extensions." | 19:35 |
simplexio | phylogenesis: you probably have eth0 and eth1... | 19:36 |
phylogenesis | on my client machine, yes | 19:36 |
phylogenesis | I'm checking the server dmesg output now | 19:37 |
simplexio | what mii-tool says about speed | 19:37 |
simplexio | phylogenesis: btw... ubuntu changes interface names after boot, so that they can be same at every boot | 19:38 |
phylogenesis | Client: "SIOCGMIIPHY on 'eth0' failed: Operation not supported" (even as root): Server: "eth0: no link" | 19:38 |
simplexio | phylogenesis: you should get link up down notice from dmesg if you take wire off | 19:39 |
phylogenesis | ifconfig on the server gives eth0 and lo. on the client it gives eth0, eth1, and lo. I have no idea what eth1 is for. | 19:39 |
phylogenesis | checking | 19:39 |
simplexio | phylogenesis: client probably has wireless and wire network cards on | 19:40 |
phylogenesis | yes, but wouldn't that be wlan0? | 19:40 |
simplexio | dunno.. its dosent need to be names as wlan | 19:41 |
phylogenesis | Oh, you're right, even iwconfig shows it as eth1, anyway: On the client dmesg gives me "eth0: link down\neth0 link up", and the server gives "eth0: link down". However, they are not connected right now. I'd have to disconnect from the internet to connect them. Should I test it now? | 19:42 |
phylogenesis | More specifically: the last lines of dmesg on the server are: "[##.###] eth0: link down" then "[###.###] ACPI Error (evevent-0303): No installed handler for fixed event..." | 19:43 |
phylogenesis | Anyway, I think I'm getting off track. What should I test? Perhaps connect the computers, then set the IPs as before, then run mii-tool and pastebin the output? | 19:45 |
phylogenesis | should I set my server to have a static IP (in /etc/network/interfaces) instead? | 19:45 |
simplexio | phylogenesis: probably better | 19:46 |
phylogenesis | simplexio, should I also do that on the client? | 19:47 |
simplexio | phylogenesis: yeah | 19:47 |
phylogenesis | Any idea where to set it in Fedora 11? | 19:47 |
phylogenesis | I'll figure it out or ask elsewhere if not, I'm just wondering | 19:47 |
simplexio | phylogenesis: just call /etc/init.d/networking stop, then do ip addr add 192.168.0.1/24 dev eth0 (or what eth interface it is ) and same in server | 19:48 |
simplexio | phylogenesis: no idea.. easiest way probably is just call network starting init script to stop | 19:48 |
simplexio | phylogenesis: or if you want you could just add eth alias to those interfaces and define your own network into that | 19:49 |
=== xorigin_ is now known as xorigin | ||
phylogenesis | How would that help? (I really mean to ask, not to suggest you are wrong) | 19:50 |
simplexio | phylogenesis: i have noticed that ubuntu dosent like me if i define manually stuff whit ifconfig, but ip addr works fine | 19:50 |
phylogenesis | Can I have my old dhcp configuration, then use the alias for a static one? | 19:50 |
simplexio | phylogenesis: if you still have dhcp call there when you define interface manually, it it could change to some default after it timeouts | 19:51 |
simplexio | phylogenesis: yes | 19:51 |
phylogenesis | simplexio, now I'm confused :-/ What should I be trying? The static IP on both, the dhcp with alias, replacing the dhcp with the alias? | 19:52 |
simplexio | phylogenesis: in buntu /etc/network/interfaces.. line: auto eth1:1 \n iface eth1:1 inet static .... etc etc . | 19:52 |
simplexio | in that case attleast dhcp stuff wont be reason why it dosnt work | 19:53 |
simplexio | phylogenesis: i assume that you wire interface is eth1, in that case you define that auto eth1:1 lines to both systems ( no idea howto do it in fedore ) | 19:53 |
phylogenesis | and I use eth1 even though ifconfig doesn't show eth1, right? | 19:53 |
phylogenesis | my wire interface is eth0 on both | 19:54 |
simplexio | phylogenesis: no, you use whatever is you wire interface.. i that ase eth0:1 | 19:54 |
phylogenesis | Okay, I will try that and come back. It'll take a good 20 minutes I think. Thanks. | 19:55 |
simplexio | phylogenesis: and chech that wire is ok | 19:55 |
phylogenesis | How? | 19:55 |
phylogenesis | I only have one crossover, and I can't even ping each other using standard ethernet. | 19:55 |
phylogenesis | This'll be my new interfaces file, is this correct or am I doing something stupid :-P: http://pastebin.com/d22a5ce85 | 19:59 |
simplexio | pretty much like that | 20:00 |
phylogenesis | and how do I indicate that the scp should use eth0:1 instead of eth0? | 20:00 |
phylogenesis | will the server just know to use that when it receives input from the connection pointed toward the static IP? | 20:00 |
simplexio | phylogenesis: scp user@host , just like before | 20:00 |
simplexio | you justkeep your old dhcp config on side and "working" when you define another ip on same interface | 20:01 |
phylogenesis | I'm gonna try to figure out the fedora side of this now | 20:02 |
simplexio | may or may not fix the problem : ) its computers | 20:02 |
phylogenesis | Should I use address=192.168.2.101, subnetmask=255.255.255.0, and gateway= for the client? In network configuration, I chose eth0, which is dhcp, but there is a tab "Route" that says: "Static network routes" so I clicked to add one and it asks for those things. | 20:06 |
simplexio | sure | 20:12 |
Nafallo | andol: what's the magic for disabling recommends to be depends again? | 20:15 |
Nafallo | andol: nvm. found it. | 20:17 |
phylogenesis | Here is the output from "sudo ethtool eth0" on both machines: using mii-tool on the client didn't work so someone suggested ethtool http://pastebin.com/d54b6387d | 20:43 |
phylogenesis | simplexio, sorry, I left a different channel and it totally disconnected me instead | 20:45 |
simplexio | phylogenesis: use irssi ;) | 20:45 |
simplexio | phylogenesis: its seems that its negotiated just right.. is it still doing those stalls | 20:46 |
phylogenesis | simplexio, I might, I don't like xchat much. As for the stalls, yes. This time it didn't take very long at all, maybe one minute. I didn't start the scp until being connected for a few minutes. It seems like it disconnects after a certain amount of time from being connected. | 20:47 |
phylogenesis | Also, I still had to do the ifconfig thing on both machines before I could even ping one another | 20:48 |
simplexio | phylogenesis: it should be that hard... | 20:50 |
simplexio | phylogenesis: i mean disable dhcp / manually configure interface to same subnet, (maybe restart openssh server ) and use scp * user@host | 20:51 |
phylogenesis | simplexio, as in, "figures" or literally | 20:51 |
simplexio | maybe fedore has some broken config :) | 20:51 |
phylogenesis | I worked on that last night, according to the people on IRC in #fedora, I have everything set up like I should | 20:52 |
simplexio | i mean have two buntu in use here and i havent see that kind problem for long time | 20:52 |
simplexio | phylogenesis: dmesg or cat /var/log/syslog.0 dosent tell anything funny ... | 20:52 |
simplexio | phylogenesis: do you have TCPKeepAlive Yes in sshd_config ... that pretty muhc only option that could affect | 20:53 |
phylogenesis | nothing that means anything to me. the last line of dmesg is eth0: link down, but I had to disconnect the two to get back on here | 20:54 |
simplexio | phylogenesis: does ifconfig report about collision or overruns | 20:55 |
phylogenesis | all 0 | 20:55 |
phylogenesis | (checking TCPKeepAlive) | 20:55 |
simplexio | then i have no other idea that you network cards are bad or their driver are bad | 20:56 |
phylogenesis | where is sshd_config? | 20:56 |
simplexio | /etc/ssh/ | 20:56 |
phylogenesis | I see "TCPKeepAlive yes" :-/ | 20:57 |
phylogenesis | Well, I'm baffled. Thank you for all your time. I'm gonna try it with a friend's switch. Hopefully that'll help... | 21:00 |
simplexio | phylogenesis: im just testing it. and it just works scp -4r user@host: . | 21:01 |
phylogenesis | What is -4r? (I use just -r) | 21:02 |
simplexio | force ipv4 addr | 21:02 |
phylogenesis | Mind that I've had it run for up to five minutes and transfer more than a few GB of data before failing. | 21:02 |
phylogenesis | Any chance that would help? | 21:02 |
phylogenesis | Also, do you know of a way I can test the cable itself? | 21:03 |
simplexio | if dmesg dosent say that hd timeouts its should be problem | 21:03 |
simplexio | you could try run rsync | 21:04 |
simplexio | attleast it can restart where it left it | 21:04 |
simplexio | btw.. id few GB is one big file or many small | 21:04 |
simplexio | im testing with many small | 21:05 |
phylogenesis | No thanks, I want to get it working. Who knows what other problems it'll cause if I don't. | 21:05 |
phylogenesis | it's both, I have tons and tons of small files plus several very large ones | 21:05 |
simplexio | i can test with big file | 21:05 |
phylogenesis | I may ask you to later, but I'm going to try one more time with -4r and if that doesn't work I'm gonna head to a friends place and have him help. | 21:06 |
simplexio | between 2 ubuntu boxes if it makes same on my computers | 21:06 |
phylogenesis | Thanks a million though, I'll let you know what happens if you wish. | 21:06 |
simplexio | 1% 2148MB 26.7MB/s 1:09:31 ETA.... going strong | 21:08 |
phylogenesis | nice connection, the best mine showed was 20MB/s, anywho I'm gonna try that -4r thing now, I'll be back on later | 21:09 |
linkxs | hi, i have a few questions regarding mail servers and ubuntu | 21:42 |
ScottK | !ask | linkxs | 21:42 |
ubottu | linkxs: Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) | 21:42 |
linkxs | first of all, how would i make my ubuntu server forward to another smtp server, for example, i want to specify smtp.linkxs.org in the mail client, and my server would forward to smtp.sbcglobal.net | 21:43 |
ScottK | It depends a lot on what mail transfer agent you select. We generally recommend Postfix. | 21:44 |
linkxs | I've just finished installing dovecot | 21:44 |
linkxs | as far as i understand, dovecot doesn't do smtp | 21:44 |
ScottK | Dovecot is the mail delivery agent. | 21:44 |
ScottK | Postfix does. | 21:44 |
linkxs | so should i install postfix alongside dovecot and configure it to forward to another smtp server? | 21:45 |
ScottK | Yes | 21:45 |
ScottK | However .... | 21:45 |
linkxs | however...? | 21:46 |
ScottK | Any spam you forward is going to look to sbcglobal like it came from you, so if you don't want to get blacklisted by them, make sure you have that worked out first. | 21:46 |
linkxs | ah | 21:46 |
linkxs | good point | 21:46 |
linkxs | thanks | 21:46 |
linkxs | i think i might jsut get lazy and specify smtp.sbcgloabl.net | 21:46 |
linkxs | thanks though | 21:46 |
linkxs | another question, i've just installed dovecot(as i said), and I want to configure squirrelmail. #ubuntu threw this link at me: https://help.ubuntu.com/8.04/serverguide/C/email-services.html about dovecot, but i don't see anything for squirrelmail tehre | 21:47 |
linkxs | is there a good tutorial for squirrelmail? | 21:48 |
ScottK | I haven't setup squirrelmail. | 21:48 |
linkxs | ok | 21:49 |
linkxs | another question.. after I isntalled dovecot, I tried doing 'telnet 192.168.1.8 pop3s' from another computer | 21:50 |
linkxs | Trying 192.168.1.8... | 21:50 |
linkxs | Connected to 192.168.1.8. | 21:50 |
linkxs | Escape character is '^]'. | 21:50 |
linkxs | is what i got, but i can't quit it now | 21:50 |
linkxs | ctrl+] does nothing, just prints it | 21:50 |
linkxs | same goes for imaps | 21:50 |
linkxs | ok, another question: i've followed this tutorial: https://help.ubuntu.com/8.04/serverguide/C/dovecot-server.html , what else do i need to do to be able to use, let's say, imap? | 21:56 |
tosh | dovecot does imap too | 21:59 |
linkxs | yeah, i know | 22:00 |
linkxs | i plan to use imaps and pop3s | 22:00 |
tosh | oh | 22:00 |
tosh | you have to set up certs for that | 22:01 |
linkxs | i did | 22:01 |
linkxs | self-signed | 22:01 |
tosh | ok | 22:01 |
linkxs | but what else do i need to do after that tut? | 22:01 |
spowers | linkxs: squirrelmail acts as an imap client | 22:03 |
tosh | hang on | 22:03 |
tosh | hmmm | 22:04 |
tosh | that tutorial doen't have much in it | 22:04 |
tosh | but it should work | 22:04 |
tosh | yea its got protocols = pop3 pop3s imap imaps | 22:05 |
linkxs | spowers: i know, but before i deal with squirrelmail, i want to get dovecot to work with, say, thunderbird | 22:05 |
linkxs | tosh: i only enabled pop3s and imaps | 22:06 |
tosh | and and the ssl stuff is there | 22:06 |
linkxs | yes, i did do the ssl stuff | 22:06 |
tosh | ok | 22:06 |
tosh | so it should work | 22:06 |
linkxs | don't i need to create users? | 22:06 |
tosh | well yeah | 22:06 |
linkxs | how would i go about doing that? | 22:07 |
tosh | you have postfis or some other mta? | 22:07 |
linkxs | uhm, no | 22:07 |
linkxs | i was planning on using squirrelmail | 22:07 |
tosh | how are you actually receiving mail? | 22:07 |
linkxs | dovecot? | 22:07 |
linkxs | as i understand, dovecot is the pop3 server | 22:07 |
tosh | yup | 22:07 |
spowers | dovecot will read mail from a maildir or mbox mail store and serve it to imap or pop clients | 22:08 |
linkxs | therefore, it handles it | 22:08 |
spowers | you need some way to get mail into those mail stores | 22:08 |
spowers | e.g postfix | 22:08 |
linkxs | oh | 22:08 |
tosh | but its not a mal transfer agent | 22:08 |
linkxs | ok | 22:08 |
linkxs | gotcha | 22:08 |
spowers | postfix is the mta, i think people refer to dovecot as an MDA | 22:08 |
spowers | mail delivery agent | 22:08 |
spowers | is that correct? | 22:08 |
tosh | it just takes the mail thats on the server and sends it to the user | 22:08 |
linkxs | gotcha | 22:08 |
linkxs | so i can use squirrel mail as the MTA?, right? | 22:08 |
tosh | but you have to get mail onto the server somehow | 22:08 |
linkxs | ok | 22:09 |
spowers | squirrel mail is a MUA | 22:09 |
spowers | mail user agent | 22:09 |
tosh | nah squirrel mail is just a web interface | 22:09 |
linkxs | ook | 22:09 |
linkxs | ok | 22:09 |
linkxs | so postfix it is | 22:09 |
linkxs | ima go install it then | 22:09 |
spowers | (rest of world) -> emails you via postfix -> delivers mail to mbox or maildir mail store -> dovecot grabs that and shoves it at the mail client -> thunderbird or squirrelmail shows the users their mail | 22:09 |
linkxs | ok | 22:10 |
spowers | and squirrelmail will also attempt to use your local postfix server as a way to get outbound mail out, but it's probably configurable in SM just like for thunderbird or eudora or outhouse | 22:10 |
tosh | hey anyone know how to get procmail recipes to work with virtual addresses in postfix? | 22:12 |
linkxs | i'm using this tut for postfix: https://help.ubuntu.com/8.04/serverguide/C/postfix.html , and soem things in there don't appeal to me | 22:12 |
linkxs | for example, i think it wants me to use procmail | 22:13 |
linkxs | and doesn't think i have a domain name | 22:13 |
linkxs | so it asks me to put NONE in the spot of a domain name | 22:13 |
linkxs | should i just follow the tut? | 22:13 |
tosh | are you using ubuntu 8.04? | 22:14 |
MatBoy | what is a good way to use ubuntu-server with windows clients and a VPNbox in front of the server ? | 22:14 |
linkxs | tosh: yes | 22:14 |
MatBoy | I want to secure folders... | 22:14 |
tosh | is the vpmbox able to get the windows uses on the network or are you going to use ubuntu for that? | 22:19 |
MatBoy | I'm using the vpnbox for that, I think the linux box would be make it easier indeed | 22:19 |
tosh | ok so you have the windows users on the network? | 22:20 |
tosh | not sure how windows vpn works but it would probably have another network device listed for the vpn | 22:22 |
tosh | make sure that device gets a proper ip | 22:23 |
tosh | hopefully the vpnbox uses dhcp so your ubuntu server will get an ip on the same network as the the windows users connected to the vpn | 22:24 |
tosh | once you have that you can set up samba on ubuntu to share files | 22:25 |
tosh | do you have a windows domain controller on your network? | 22:26 |
MatBoy | tosh: yes, I think I need samba for sure | 22:30 |
MatBoy | tosh: nope, I can let samba do that... but how do I need to login.. that is the question... after the VPN has started | 22:30 |
tosh | hmmm | 22:34 |
tosh | yeah you can add users and groups in samba | 22:35 |
tosh | and configure samba to allow different permissions to different shares | 22:35 |
tosh | I think thats what you want | 22:35 |
quizme | how do you determine how much ram a process is using? | 22:59 |
genii | quizme: "top" ? | 23:02 |
quizme | free -m ? | 23:02 |
linkxs | conky | 23:02 |
quizme | how about if i know the PID | 23:03 |
quizme | hwo do i get memory usage just for that PID ? | 23:03 |
quizme | in MB ? | 23:03 |
jbbarnes | I have let my ubuntu server (gutsy) ready end-of-life, so apt-get no longer works. What are my options for upgrading my existing server rather than overwriting and reconfiguring. Is there any way to dist-upgrade? | 23:33 |
danbhfive | jbbarnes: https://help.ubuntu.com/community/EOLUpgrades#7.10%20to%208.04%20(Gutsy%20to%20Hardy) | 23:34 |
jbbarnes | Thank you. I am reading that now. | 23:35 |
genii | quizme: top -p### where ### is pid usually works | 23:44 |
quizme | genii thanks! | 23:44 |
jbbarnes | danbhfive: Okay, I have ready through the upgrade instructions. It was straightforward. Question: How risky is this? Generally pretty safe, or is there a significant risk of hosing the system with a failed upgrade? | 23:47 |
danbhfive | jbbarnes: In theory, lot's of people went through upgrades with those packages and did ok. The only difference now is that those packages are no longer being updated with security fixes | 23:48 |
jbbarnes | I do not have the problematic kernel mentioned in that section, so I think I will go ahead and do it. Thank you. | 23:49 |
giovani | jbbarnes: upgrades often break things | 23:49 |
giovani | I wouldn't recommend it unless you feel comfortable troubleshooting weird issues for at least a few hours | 23:50 |
giovani | (it may go perfectly fine -- but rarely does) | 23:50 |
giovani | quizme: that's what ps is for | 23:51 |
jbbarnes | I think I will be sure to image the drive first so I can fail back if necessary. Thanks for the warning. | 23:51 |
giovani | jbbarnes: sounds like a decent plan | 23:52 |
jbbarnes | The alternative is to start from scratch and migrate data. That's a lot of work, anyway. I might as well give it a shot. I suppose it's possible for it to work perfectly or have just a few problems. I can hope, anyway. | 23:54 |
quizme | giovanni it lists the processes in memory | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!