nicodarious | hello, i'm back and i have decided to just go with mdadm as andol has said that he uses. although i do have a question... once /dev/md0 is created, how do you destroy it? and also, is it possible to unmount /dev/md0 and add another hard drive to it in raid0? | 00:03 |
---|---|---|
jmarsden | nicodarious: https://help.ubuntu.com/community/Installation/SoftwareRAID (and do not use RAID 0 on a server unless you do not care about your data) | 00:34 |
nicodarious | jmarsden, thanks. i'm checking it out now. | 00:36 |
nicodarious | jmarsden, no, it's just a home server. need lots of space without lots of partitions. just want something big with fast access times. | 00:37 |
Kamping_Kaiser | why lots of partitions? | 00:37 |
nicodarious | hmmm.. ok, this is for a RAID installation. not just implementing a raid drive. | 00:38 |
nicodarious | i already have the OS installed on a 10K RPM drive. i think it's plenty fast enough without raid. | 00:38 |
nicodarious | Kamping_Kaiser, i have several hard drives to make up my 4TB home server | 00:38 |
nicodarious | but none of them are bigger than 750GB, and most are only 500GB. i am trying to get raid0 implemented instead of lvm2 | 00:39 |
Kamping_Kaiser | nicodarious, perhaps lvm over raid 5 (although you will lose space using raid 5/6) | 00:39 |
Kamping_Kaiser | heh. ok | 00:39 |
nicodarious | i bought a card with the merchant telling me 'it's REAL hardware RAID!' yeah, i'm about to go back and bust him one. | 00:40 |
hads | RAID5 is growable these days too | 00:40 |
nicodarious | hmm... question on raid 5..... | 00:40 |
Kamping_Kaiser | hads, problem would be his different sized drives ;/ | 00:40 |
nicodarious | ahh, so they all have to be the same size? | 00:41 |
hads | Yeah for sure, just mentioning that you can grow RAID5 now without LVM | 00:41 |
nicodarious | that sucks | 00:41 |
nicodarious | i really want REAL hardware raid so i can set it up outside the OS and it be completely translucent to 8.10, but it seems no one in Germany knows what real HW RAID card is. | 00:42 |
hads | Software RAID is pretty neat. | 00:42 |
jmarsden | nicodarious: Do you have a real hardware raid controller? | 00:42 |
nicodarious | only a VT6421 PCI controller with 2 500GB drives on it. then the nvidia JBOD RAID controller on the mobo. | 00:43 |
nicodarious | but both are software types | 00:43 |
nicodarious | nothing hardware wise | 00:43 |
jmarsden | OK. You can't do real hardware RAID without a real hardwre RAID controller. Just can't be done. | 00:44 |
nicodarious | that's where i was thinking dmraid, but i couldn't find anything to help me set up dmraid. so i went with mdadm to set up /dev/dm0 first | 00:44 |
jmarsden | OK. You can do that, but I don't think you can expand a RAID0 array later adding extar drives without losing all the data on it. | 00:45 |
nicodarious | yeah. i know. that's where i am pissed. the guy who sold me the VR6421 said it was real HW RAID controller | 00:45 |
nicodarious | ok, so i'm down to software raid, but i have to do something with it. it's got to be better than it was back in the day 10 years ago. | 00:46 |
jmarsden | It is, because your CPU is faster than it was 10 years ago. | 00:46 |
nicodarious | you know of any sites that show step-wise how to set up a dmraid? | 00:46 |
nicodarious | at two duallie CPUs running at 3.2 GHz? better be! rofl! | 00:47 |
jmarsden | https://help.ubuntu.com/community/FakeRaidHowto | 00:47 |
Kamping_Kaiser | hw raid> software raid for a lot of things, no matter how fast the cpu | 00:48 |
jmarsden | google is your friend... google for dmraid tutorial and go from there... | 00:48 |
jmarsden | Kamping_Kaiser: True if you have the hardware, irrelevant if you don't | 00:48 |
Kamping_Kaiser | jmarsden, always relevant, just not always helpful. | 00:49 |
nicodarious | hmm.. that website i have looked at a lot. google has been my site of choice for the past 8 hours of working on this. but most of it pertains to INSTLLING onto /dev/mapper/* not just setting up one and using the VIA instead of the nvidia controller. | 00:52 |
=== _YaNn is now known as hiphopgeek | ||
=== hiphopgeek is now known as YaNn86 | ||
=== YaNn86 is now known as hiphopgeek | ||
Lokin | How do I boot the last person to SSH to my server? | 02:37 |
L1NUX_14SIDE | hello | 02:54 |
L1NUX_14SIDE | I have a bit of a problem setting up ubuntu server | 02:54 |
L1NUX_14SIDE | I cannot ping the server for some reason | 02:55 |
JDStone | is there like a list of some of the apps that don't work on 64-bit? | 02:55 |
L1NUX_14SIDE | JDStone try googling it | 02:55 |
JDStone | good idea, thanks | 02:55 |
JDStone | i should have thought of that | 02:55 |
JDStone | duh, lol | 02:55 |
L1NUX_14SIDE | I set the ip on the server to 192.168.1.5 and the client I was testing the connection with to 192.168.1.7 | 02:57 |
JDStone | L1NUX_14SIDE: what's the problem? | 02:58 |
JDStone | for a server, should I go 64-bit or 32-bit? | 02:58 |
L1NUX_14SIDE | well what's your proccessor | 02:59 |
L1NUX_14SIDE | amd | 02:59 |
JDStone | yes | 02:59 |
JDStone | amd | 02:59 |
L1NUX_14SIDE | well, for the 64 bit system | 02:59 |
L1NUX_14SIDE | you can utilize more ram I believe | 03:00 |
JDStone | system only has 1GB | 03:00 |
JDStone | it probably won't ever need anymore than 3GB | 03:01 |
L1NUX_14SIDE | hmm.. I'm not really sure about the benefits of running 64 bit | 03:01 |
JDStone | maybe even 2 | 03:01 |
JDStone | yeah, i know... | 03:01 |
L1NUX_14SIDE | I suggest hitting up google for some answers | 03:01 |
JDStone | yep, thansk | 03:01 |
JDStone | *thanks | 03:01 |
JDStone | actually, I just found something... | 03:01 |
L1NUX_14SIDE | sure | 03:01 |
L1NUX_14SIDE | if you have some answers most questions can be found in a google search | 03:02 |
L1NUX_14SIDE | I've already tried to look for answers to my problem with my system | 03:02 |
L1NUX_14SIDE | but, alas I had to get some human help | 03:03 |
L1NUX_14SIDE | hoopss.... | 03:03 |
L1NUX_14SIDE | reverse what I wrote | 03:03 |
JDStone | hmm, this says I should go 64bit, but I still think I'm going to go 32bit | 03:04 |
JDStone | https://help.ubuntu.com/community/32bit_and_64bit | 03:04 |
L1NUX_14SIDE | I wish I had a 64bit system | 03:05 |
L1NUX_14SIDE | I could really use the extra speed for running simulations on blender | 03:05 |
JDStone | why don't you have one, they're pretty cheap | 03:09 |
L1NUX_14SIDE | yeah, but besides running blender I don't really have a need for one | 03:16 |
L1NUX_14SIDE | I got a pretty decent P4 workstation running at 2.9Ghz | 03:16 |
L1NUX_14SIDE | that was given to me ;) | 03:17 |
Lokin | Anyone here any good with Unix command line? | 03:30 |
Lokin | .... | 03:31 |
JDStone | Lokin: what's up? | 04:01 |
NineTeen67Comet | Hi all, I'm looking to see if there is a minimal Ubuntu Server install cd .. like a business card (80'ish MB) iso instead of the larger install cd? | 04:35 |
NineTeen67Comet | OI' | 04:37 |
NineTeen67Comet | Most of my servers are Ubuntu (8.04) with a couple Debian boxes but I would like to isntall with the smallest media possible and the biz card sized cds are perfect. | 04:38 |
ball | Hmm... now I have Ubuntu Server installed, I'm not sure what to do with it. | 05:30 |
lukehasnoname | yo guys | 06:05 |
ball | hello | 06:06 |
ball | Anyone here used swat? | 06:06 |
lukehasnoname | I thought about asking a question but I want to ask google first | 06:06 |
ball | With Ubuntu Server, is it difficult to configure the machine to be a DHCP server on *only* one of its attached networks? | 06:40 |
LMJ | it's not hard ball; you specify which interface should listen the DHCP server | 06:45 |
LMJ | Got a nasty error with my 2 md devices : EXT2-fs warning (device md0): ext2_fill_super: mounting ext3 filesystem as ext2 I've fsck'ed them several time but it still not good. What can I do please ? | 06:48 |
ball | LMJ :reformat your partition and restore from your most recent backup tape? | 06:53 |
ball | oh wait, is md a memory disk? | 06:54 |
ball | (ramdrive)? | 06:54 |
LMJ | no, it's software raid | 06:57 |
ball | Ah okay. | 06:59 |
Sludge321 | Hi everyone, I was wondering if anyone had time to discuss with me setting up an MTA on my web server - for sending mail only (not receiving, not relaying/forwarding - no MX records)? I've taken a quick look/search for postfix and exim and all the guides relate to configuring both sending and receiving. | 07:29 |
jmarsden | Sludge321: ssmtp may be what you want | 07:51 |
Sludge321 | jmarsden: I'm currently using ssmtp to relay to my other hosting providers smtp server, but I will be cancelling that next month - so am looking for the web server to be able to send directly. | 07:52 |
jmarsden | Sludge321: OK, then just configure postfix to only listen on the loopback interface, or even hack /etc/postfix/master.cf to not even run the listeners. Should be doable, if slightly strange. How will you *receive* email? | 07:54 |
Lokin_ | So I want to limit the amount of SSH connectinos I can have on My server. I want only 5 people to be able to connect at one time (for now), How should I do this???? | 07:56 |
Sludge321 | jmarsden: I host a few domains, i receive email at one of them (configured with google apps) - but dont want email to be sent through this (as it stores email in the sent items - and some of the emails aren't my business - they are friend's websites). | 07:57 |
Lokin_ | Anyone....? | 07:57 |
jmarsden | Lokin_: I think you could run sshd from xinetd and configure that to limit how many to have at once, but that's pretty ugly. It seems a odd restriction to want. | 08:01 |
Lokin_ | I'll explain. It's a piece of crap salvaged some computers from the 90's (early 90's) and made it into one little crap server. Internet isn't exactly server ready either. | 08:02 |
Lokin_ | make more sense? | 08:03 |
jmarsden | OK, but why 5? Maybe 4 of them are idle... is the issue system load, or network traffic, or what? Then limit based on the actual resource limit not on a arbirtary number of sessions, I'd think? | 08:06 |
Lokin_ | jmarsden: so forget that. How can I boot the Latest user via command line? | 08:07 |
Lokin_ | erg that's even harder | 08:07 |
Lokin_ | http://pastebin.com/d5cee30a5 | 08:07 |
Lokin_ | this was my only Idea but It failed | 08:07 |
jmarsden | Sludge321: to get you started: apt-get install postfix && cp -p /usr/share/postfix/main.cf.debian /etc/postfix/main.cf && echo inet_interfaces lo >>/etc/postfix/main.cf | 08:09 |
jmarsden | Lokin_: I can't figure out what you are attempting there... w shows all users not just SSH sessions, ... | 08:13 |
Lokin_ | ya but there's no physical or at least I won't be doing much physical. | 08:14 |
jmarsden | You could consider a few lines of shell script in .profile that log out a user if there are "too many", or if load average is too high, or whatever | 08:14 |
Lokin_ | ya but how do I log Someone out? | 08:15 |
jmarsden | ? If the code is running in their .profile, you just exit 0 :-) | 08:15 |
jmarsden | Exit their login shell. | 08:15 |
Lokin_ | ... I don't follow? If the code is running in their .profile...... | 08:16 |
jmarsden | Are you the sysadmin of this server?? If you get every session to execute, say: [ `users |wc -l` -ge 5 ] && exit 0 | 08:20 |
jmarsden | at login time, then if there are too many people the session will auto-logout... | 08:20 |
Lokin_ | k | 08:21 |
Lokin_ | don;t make me restrict top | 08:21 |
jmarsden | So stick that in /etc/profile and ... bingo? Yes? Of course this will also lock *you* out under load... | 08:22 |
Lokin_ | don't* | 08:22 |
Lokin_ | k..... | 08:22 |
Lokin_ | So do I need to add it to there silly little template or just cut copy... | 08:22 |
jmarsden | Depends if you want the existing stuff in that file to work. You could put it in a new file under /etc/profile.d/ too... how you manage your server is your choice if you are the sysadmin :-) | 08:24 |
Lokin_ | Lol. I am. I'm just no admin was bored on a rainy Wednesday so I decided to make a server... yay. but I know very little Linux. | 08:25 |
jmarsden | Then do not run a shell server... it will be exploited. | 08:25 |
Lokin_ | ? | 08:26 |
Lokin_ | as in how mine is now? | 08:26 |
Lokin_ | just Ubuntu 8.10 server? | 08:26 |
jmarsden | Users will find ways to become root, or use it to attack others, or whatever. DOn't give random people shell access to a server if you are not 100% sure you know enough to secure it well. | 08:26 |
Lokin_ | k | 08:27 |
jmarsden | Use it to learn. Use it as a little web server, maybe. But not shell access, that's (in my opinion) asking for trouble. | 08:28 |
Lokin_ | K | 08:28 |
Lokin_ | would It be bad to set it up as a personal FTP server where I can just store files when I need them wherever I am? | 08:29 |
jmarsden | No, for you it's fine. I'd say use SSH and scp/SFTP rather than FTP, for security reasons, but that's fine. | 08:29 |
Lokin_ | ? | 08:31 |
Lokin_ | how do I download an app or file via SSH | 08:31 |
Lokin_ | where is top located? | 08:35 |
Lokin_ | I want to restrict it | 08:35 |
jmarsden | Lokin_: Try man scp and also man sftp for copying files around over SSH. Try which top to see where top is. | 08:37 |
Lokin_ | k | 08:37 |
jmarsden | Lokin_: You might want to go through http://tldp.org/LDP/intro-linux/html/intro-linux.html for a general intro to Linux? | 08:40 |
Lokin_ | ya I'm on chapter 4 | 08:41 |
jmarsden | :-) OK. Well, I'm going to get some sleep... goodnight. | 08:41 |
Lokin_ | Night | 08:42 |
Lokin_ | What time zone? | 08:42 |
jmarsden | Pacific. 1AM here. | 08:42 |
Lokin_ | same | 08:42 |
Lokin_ | cali! | 08:42 |
Lokin_ | night | 08:42 |
Lokin_ | jmarsden: Still there? Can't get this working | 08:44 |
Moshe234 | there's about 200 ppl in here but no one talking | 09:37 |
Moshe234 | ok then maybe it's my system, i'll go and check it out | 09:38 |
T-Hawk | hey... got a bit of a problem here. i've removed the old kernel version from my ubuntu-server, but for some reason linux-ubuntu-modules didn't purge. Now when i try to purge linux-ubuntu-modules it comlains that initrd.img doesn't exists (which isn't that odd) is there any way to remove linux-ubuntu-modules? | 10:58 |
mib_wejucg | hi everybody | 12:52 |
mib_wejucg | I've just ugraded from hh to ii | 12:53 |
mib_wejucg | and now I've no Internet - no ping, no dns, nothing | 12:53 |
ivoks | what did you do? | 12:53 |
mib_wejucg | do-release-upgrade | 12:54 |
ivoks | and rebooted? | 12:54 |
mib_wejucg | there was a few config files to merge, nothing related to net | 12:54 |
mib_wejucg | yes, twice | 12:54 |
ivoks | so, you have access to machine | 12:54 |
ivoks | ? | 12:54 |
mib_wejucg | yes I have | 12:54 |
mib_wejucg | just in front of me | 12:54 |
ivoks | ifconfig doesn't show any ip address? | 12:54 |
mib_wejucg | no, everything is fine with ifconfig | 12:55 |
ivoks | do you have multiple ethernet interfaces on that computer? | 12:55 |
mib_wejucg | I mean, /etc/init.d/networking restart gives no error | 12:55 |
mib_wejucg | yes, eth0 that is connected to the net, and eth1 to the local network | 12:55 |
ivoks | and both aren't working? | 12:56 |
mib_wejucg | I'm currently using direct connexion to my ISP modem with a laptop | 12:56 |
mib_wejucg | no, only eth0 | 12:56 |
mib_wejucg | I can ssh from any computer to this router | 12:56 |
ivoks | but you can't get out? | 12:56 |
mib_wejucg | yes | 12:56 |
mib_wejucg | it seems there's a firewall | 12:57 |
mib_wejucg | yet I have stopped firehol | 12:57 |
mib_wejucg | and ufw | 12:57 |
ivoks | iptables is the only right way to check if firewall rules are set | 12:57 |
ivoks | iptables -L | 12:57 |
mib_wejucg | there's a lot of lines | 12:58 |
mib_wejucg | what is the command to remove all iptables rules ? | 12:58 |
ivoks | stoping 'firewalls' like firehol and other not-real-firewalls usually means that you are stoping the service | 12:58 |
ivoks | but rules are preserved | 12:59 |
mib_wejucg | I'll try to flush the rules | 12:59 |
ivoks | be careful | 12:59 |
ivoks | if your default policy is DROP | 12:59 |
mib_wejucg | yet, before the upgrading, firehol was already allowing all traffic from this router | 12:59 |
ivoks | you'll kick your self out of the machine | 12:59 |
ivoks | so, that's a router? | 12:59 |
ivoks | can you access outside network, like google, from it? | 13:00 |
mib_wejucg | yes, but it's a personnal router, so it does not matter... | 13:00 |
mib_wejucg | no | 13:00 |
ivoks | ok | 13:00 |
ivoks | /sbin/iptables -P INPUT ACCEPT | 13:01 |
ivoks | /sbin/iptables -P OUTPUT ACCEPT | 13:01 |
ivoks | /sbin/iptables -P FORWARD ACCEPT | 13:01 |
mib_wejucg | i can't even ping my dns servers | 13:01 |
ivoks | then flush them: | 13:01 |
ivoks | /sbin/iptables -F INPUT | 13:01 |
ivoks | /sbin/iptables -F OUTPUT | 13:01 |
ivoks | /sbin/iptables -F FORWARD | 13:01 |
ivoks | and delete all user defined chains: | 13:01 |
ivoks | /sbin/iptables -X | 13:01 |
mib_wejucg | ok thank you, now I will have to disconnect my laptop to try the internet connexion on my router | 13:02 |
mib_wejucg | so I'll disconnect | 13:02 |
mib_wejucg | see you | 13:02 |
charlax | ok ivoks, thanks for your help, but it didn't change anything | 13:07 |
ivoks | why did you diconnect? | 13:07 |
ivoks | you said you could connect to your router from local machine, right? | 13:07 |
charlax | I have one internet connection, with one modem. I'm currently using directly this ISP-provided modem, with my laptop | 13:08 |
charlax | I have a physical access to my router | 13:09 |
charlax | my laptop is directly plugged to the modem | 13:09 |
charlax | so I unplugged it to plug my router to the modem | 13:09 |
ivoks | ok | 13:09 |
ivoks | eth0 has an IP? | 13:10 |
charlax | yes | 13:10 |
charlax | ifconfig is correct, I mean, it is the right configuration | 13:10 |
ivoks | what kind of connection is that? | 13:10 |
ivoks | plain ethernet? | 13:10 |
charlax | DHCP | 13:10 |
charlax | yes | 13:11 |
ivoks | so, server gets an ip from router | 13:11 |
charlax | yes | 13:11 |
charlax | my modem works as a router, it is a freebox modem provided by my ISP | 13:11 |
ivoks | that means that network is working | 13:11 |
charlax | but I'm using a server as a router, let's call it www it will be easier | 13:12 |
ivoks | you can't modem from server? | 13:12 |
ivoks | you can't ping modem from server? | 13:12 |
ivoks | :) | 13:12 |
charlax | I'm sorry I'm French - as you may have recognised, so it's not quite easy | 13:12 |
ivoks | bien | 13:13 |
ivoks | :) | 13:13 |
charlax | let' try... | 13:13 |
charlax | tu parles un petit peu français ? | 13:13 |
ivoks | oui, mes petit peu | 13:13 |
charlax | ok I'll disconnect to ping the modem | 13:13 |
charlax | :-) | 13:13 |
charlax2 | ok, I can't even ping the modem | 13:14 |
ivoks | that's strange, cause it recieved an ip from modem | 13:15 |
charlax2 | yet from my laptop I can | 13:15 |
charlax2 | there seems to be a complete firewall... | 13:15 |
ivoks | what network card is on server? | 13:15 |
charlax2 | eepro 100 | 13:16 |
charlax2 | and brodcom netxtreme gigabit | 13:16 |
ivoks | that should work | 13:16 |
charlax2 | let me check which is eth0 | 13:16 |
charlax2 | is it useful ? | 13:16 |
ivoks | both should work | 13:16 |
charlax2 | yes, because it was working before upgrade... | 13:16 |
ivoks | i'd bet on firewall | 13:16 |
ivoks | did you flush it? | 13:17 |
charlax2 | yes | 13:17 |
charlax2 | when I do "iptables -L" | 13:17 |
charlax2 | I get | 13:17 |
charlax2 | Chain INPUT policy accept | 13:17 |
ivoks | ok | 13:17 |
charlax2 | target... | 13:17 |
charlax2 | Chain FORWARD policy accept | 13:17 |
charlax2 | so I think it's ok | 13:17 |
ivoks | run dmesg | grep eth0 | 13:18 |
ivoks | and check if something is wrong there | 13:18 |
ivoks | try disconnecting the cable | 13:18 |
ivoks | and run that command again | 13:18 |
ivoks | then connect it back again | 13:18 |
charlax2 | sorry, Internet is eth1, local eth0 | 13:19 |
charlax2 | everything seems to be fine | 13:19 |
charlax2 | I'll disconnect to try | 13:19 |
charlax2 | everything is ok | 13:21 |
charlax2 | I get a "link up" | 13:21 |
charlax2 | but no ping... | 13:21 |
charlax2 | :- | 13:21 |
charlax2 | that's strange | 13:21 |
ivoks | if it's not secret, what's your ouside IP? | 13:22 |
ivoks | outside | 13:22 |
ivoks | i would scan it | 13:22 |
ivoks | hm | 13:22 |
ivoks | but i guess that's wouldn't show anything | 13:22 |
ivoks | since modem does the routing | 13:22 |
charlax2 | yes | 13:23 |
charlax2 | I don't think it will show anything | 13:23 |
charlax2 | everything is routed | 13:23 |
charlax2 | you will just scan the modem | 13:23 |
ivoks | right | 13:24 |
ivoks | you could try setting up static ip on server and laptop | 13:24 |
ivoks | and then connect them | 13:24 |
ivoks | and see if that works | 13:24 |
ivoks | that way you would eliminate router as a problem | 13:24 |
charlax2 | I don't understand | 13:25 |
charlax2 | server has the right address, laptop also | 13:25 |
ivoks | but you can't access server from laptop | 13:25 |
ivoks | cause server is disconnected | 13:25 |
charlax2 | yes, on my laptop I've got only one ethernet port | 13:25 |
ivoks | what's the ip server gets? | 13:26 |
ivoks | is it from the same subnet as local network? | 13:26 |
charlax2 | the right ip, I mean, I have a fixed IP and it is the right one | 13:27 |
charlax2 | no | 13:27 |
ivoks | hm | 13:27 |
ivoks | i'm affraid i can't point at the problem | 13:27 |
charlax2 | ok | 13:27 |
charlax2 | that's very strange, isn't it ? | 13:28 |
ivoks | yes | 13:28 |
ivoks | there's somewhere user error, i'm sure | 13:28 |
charlax2 | do you think it could come from the kernel ? | 13:28 |
charlax2 | yes, that would be more probable | 13:28 |
ivoks | i have lots of servers with broadcom and intel and had non problems | 13:28 |
charlax2 | ok | 13:28 |
charlax2 | thanks for your help ! | 13:29 |
charlax2 | I'll try something else | 13:29 |
ivoks | np, too bad we didn't solve anything | 13:29 |
charlax2 | while upgrading, I was modifying the configuration of firehol, dansguardian, squid | 13:30 |
charlax2 | It could come from this | 13:30 |
ivoks | try this | 13:30 |
charlax2 | I'll try reinstalling firehol | 13:30 |
ivoks | chmod -x /etc/init.d/firehol | 13:30 |
ivoks | and then reboot | 13:30 |
ivoks | firehol is a service, right? | 13:30 |
charlax2 | yes it is | 13:30 |
ivoks | right, disable it and reboot | 13:30 |
charlax2 | ok | 13:30 |
charlax2 | I'll disconnect | 13:34 |
charlax | now I can ping my modem ! | 13:40 |
charlax | but I can't ping anything else | 13:40 |
ivoks | nice | 13:40 |
ivoks | well, modem is a begining :) | 13:41 |
charlax | yes but it is on the subnet of eth1 | 13:41 |
ivoks | i know, but that didn't work before, right? | 13:41 |
ivoks | so, after all, it was firewall issue | 13:42 |
charlax | yes, but I can't ping anything else | 13:42 |
charlax | I've done "route" | 13:42 |
ivoks | connect to server and try running | 13:42 |
charlax | there is only two routes | 13:42 |
ivoks | nslookup www.google.com | 13:42 |
ivoks | only two routes? | 13:42 |
charlax | yes | 13:43 |
charlax | I have no access to dns | 13:43 |
charlax | it times out every time | 13:43 |
ivoks | which routes? | 13:43 |
charlax | one per subnet | 13:43 |
ivoks | you should have a lot more than 2 | 13:43 |
ivoks | i have three per one device | 13:43 |
charlax | I did "route" | 13:43 |
charlax | you're right | 13:43 |
ivoks | you did 'route'? your modem should forward routes to your machine | 13:44 |
ivoks | you shouldn't do that by hand | 13:44 |
charlax | the command route gave me a table with two lines | 13:44 |
ivoks | ah | 13:44 |
ivoks | could you write those two lines? | 13:44 |
charlax | Yes | 13:44 |
ivoks | just first three and last column | 13:45 |
charlax | modem subnet ending by 0 - * - 255.255.255.0 - ... - eth1 | 13:45 |
charlax | 192.168.0.0 - * - 255.255.255.0 - ... - eth0 | 13:45 |
ivoks | *? | 13:46 |
charlax | that's it, yes | 13:46 |
ivoks | no 0.0.0.0? | 13:46 |
charlax | no | 13:46 |
ivoks | it should be: | 13:46 |
ivoks | x.x.x.0 0.0.0.0 255.255.255.0 ............ eth1 | 13:46 |
charlax | I don't have such line | 13:47 |
ivoks | 192.168.0.0 0.0.0.0 255.255.255.0 ............ eth0 | 13:47 |
ivoks | + | 13:47 |
ivoks | 0.0.0.0 [modem_IP] ........ eth1 | 13:47 |
ivoks | run this on your server: | 13:47 |
ivoks | route add default gw <ip of modem> | 13:47 |
charlax | ok, I'll disconnect now | 13:48 |
charlax | I've disconnected too quickly | 13:49 |
charlax | could you retype the command please ? | 13:49 |
ivoks | route add default gw <ip of modem> | 13:49 |
charlax | thank ! | 13:49 |
charlax | wonderful job ! | 13:50 |
charlax | it is working ! | 13:51 |
ivoks | of course it is | 13:51 |
ivoks | so... | 13:51 |
charlax | so no route are initialized | 13:51 |
ivoks | and why is that? | 13:51 |
ivoks | past your /etc/network/interfaces somewhere | 13:51 |
ivoks | masq non-private ips | 13:51 |
ivoks | paste.ubuntu.com | 13:51 |
ivoks | and copy paste the link here | 13:52 |
charlax | http://paste.ubuntu.com/78039/ | 13:53 |
ivoks | eth1 is dhcp and dhcp doesn't provide default gateway? | 13:54 |
ivoks | remove last line from eth0 | 13:54 |
ivoks | 'gateway 192.168.0.1' | 13:55 |
ivoks | and fix broadcast | 13:55 |
ivoks | it can't be 192?168.0.255 | 13:55 |
charlax | sorry I mistyped broadcast, it is right in the file | 13:55 |
ivoks | ok | 13:55 |
ivoks | your modem is broken if it doesn't send 'gateway' to a client | 13:56 |
ivoks | but, since your laptop works... | 13:56 |
charlax | yes... | 13:56 |
charlax | how do I verify that my modem is sending the gateway ? | 13:56 |
charlax | with ifconfig ? | 13:56 |
ivoks | no | 13:56 |
ivoks | syslog? | 13:57 |
ivoks | anyway, i have to go now | 13:58 |
charlax | ok | 13:58 |
charlax | thank you very much ivoks | 13:58 |
ivoks | np | 13:58 |
ivoks | check if you aren't touching network with some other services or tools | 13:59 |
ivoks | and remove all wanabe-firewalls | 13:59 |
ivoks | stick with iptables and ufw | 13:59 |
charlax | ok | 14:00 |
ivoks | bye | 14:00 |
LMJ | Got a nasty error with my 2 md devices : EXT2-fs warning (device md0): ext2_fill_super: mounting ext3 filesystem as ext2 I've fsck'ed them several time but it still not good. What can I do please ? | 14:31 |
stas | hi guys | 15:12 |
stas | can sombody help me format a hdd using ufs on ubuntu? | 15:12 |
andol | stas: If I'm not totaly misstaking, Linux can read but not write ufs. | 15:48 |
stas | andol: I found ufsutils and libbsd0 on launchpad | 15:49 |
stas | but those will be included only in jaunty release | 15:49 |
stas | so far those are totally broken | 15:49 |
stas | I mean, mkfs.ufs /dev/xxx doesn't understand linux device naming | 15:50 |
andol | stas: Ok | 15:50 |
stas | so it can't find the device at all | 15:50 |
stas | sad... :( | 15:50 |
ewook | w | 21:18 |
Ahmuck | if i move a raided drive set from one server to another will i have to completely re-install the system? | 22:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!