|
Frozen-Solid posted:Well I think I have all that setup, but "ping host.domain.name" doesn't seem to work. but "ping host.local" still works like it did before. host.local is using mDNS/Avahi/Bonjour/Zeroconf/whatever the hell they're calling it now. host.domain.name is using BIND. You should be able to check the zonefiles in /var/named/ to see whether or not records exist. If they don't, try adding one manually, or refreshing your DHCP lease (annoyingly some distros, namely Fedora/Redhat, don't send dhcp-hostname by default, and you need to add options in /etc/sysconfig). "dig @serveraddress somehostname" should work. In addition to that, to get "shortname" lookups working, resolv.conf should have "domain" and "search" parameters (domain yourdomain\nsearch yourdomain).
|
| # ? Jul 23, 2012 21:19 |
|
|
| # ? May 25, 2013 00:01 |
|
Ah ha, found errors in the syslog: Jul 23 16:22:10 IronFrozen named[28469]: zone <domain>/IN: loading from master file /etc/bind/<domain>.zone failed: file not und Jul 23 16:22:10 IronFrozen named[28469]: zone <domain>/IN: not loaded due to errors. Jul 23 16:22:10 IronFrozen named[28469]: zone 0.in-addr.arpa/IN: loaded serial 1 Jul 23 16:22:10 IronFrozen named[28469]: zone 127.in-addr.arpa/IN: loaded serial 1 Jul 23 16:22:10 IronFrozen named[28469]: zone 0.168.192.in-addr.arpa/IN: loading from master file /etc/bind/0.168.192.in-addr.arp.zone failed: file not found Jul 23 16:22:10 IronFrozen named[28469]: zone 0.168.192.in-addr.arpa/IN: not loaded due to errors. Do I actually need to create the file in the "file" line of the zone? does it not make those automatically? Frozen-Solid fucked around with this message at Jul 23, 2012 around 21:36 |
| # ? Jul 23, 2012 21:24 |
|
You need a zone file for the domain and the PTR records, it doesn't generate them.
|
| # ? Jul 23, 2012 21:41 |
|
Okay, now I'm just getting a bunch of errors but it looks like it's trying to add them. ![]() Unable to add forward map <name> from <ip> bad dns signature Unable to add forward map <name> from <ip timed out
|
| # ? Jul 23, 2012 21:59 |
|
Frozen-Solid posted:Okay, now I'm just getting a bunch of errors but it looks like it's trying to add them. What is generating those errors? What does your zonefile look like?
|
| # ? Jul 23, 2012 22:10 |
|
Ninja Rope posted:What is generating those errors? What does your zonefile look like? I have no idea if they're right or not code:named[31278]: zone 0.168.192.in-addr.arpa/IN: NS 'ns.<domain>.0.168.192.in-addr.arpa' has no address records (A or AAAA) The forward map errors are from DHCPD in my syslog. named[31278]: client <server ip>#54703: request has invalid signature: TSIG dhcpupdate: tsig verify failure (BADSIG) dhcpd: Unable to add forward map from Wii.<domain> to 192.168.1.20: bad DNS signature dhcpd: DHCPREQUEST for 192.168.1.20 from 00:1a:e9:84:26:2c (Wii) via eth0 dhcpd: DHCPACK on 192.168.1.20 to 00:1a:e9:84:26:2c (Wii) via eth0
|
| # ? Jul 23, 2012 22:31 |
|
Frozen-Solid posted:I have no idea if they're right or not You really don't need a reverse zone, you can just delete that if you want. Or to fix the error, add an A record for ns just like in the other file: code:quote:The forward map errors are from DHCPD in my syslog. That means the keys you gave BIND for the zone don't match the keys you gave DHCPd. I'm not sure how to fix that (again, I don't know anything about dynamic dns) but maybe doublecheck whatever guide you followed to set that up in the first place?
|
| # ? Jul 23, 2012 22:46 |
|
Ninja Rope posted:That means the keys you gave BIND for the zone don't match the keys you gave DHCPd. I'm not sure how to fix that (again, I don't know anything about dynamic dns) but maybe doublecheck whatever guide you followed to set that up in the first place? Doh! I totally didn't update the Bind key in both places Finally got it running. I also had to move the db.<domain> and reverse lookup files to /var/cache/bind as bind couldn't write to /etc/bind/ or create the .jnl files there. Thanks everyone! Frozen-Solid fucked around with this message at Jul 23, 2012 around 23:12 |
| # ? Jul 23, 2012 23:00 |
|
I have a wget question that I figured some people here might know how to address. I am trying to get everything off a site that appears to be using some Javascript to serve photos. It doesn't look like I actually get those chunks. After some tries, my wget command has ballooned to:code:
|
| # ? Jul 24, 2012 14:33 |
|
Rocko Bonaparte posted:I have a wget question that I figured some people here might know how to address. I am trying to get everything off a site that appears to be using some Javascript to serve photos. It doesn't look like I actually get those chunks. After some tries, my wget command has ballooned to: There's probably a lot better ways to do it, but you could do it with Perl/Ruby and Mechanize.
|
| # ? Jul 24, 2012 14:38 |
|
I'd use Firefox with downthemall
|
| # ? Jul 24, 2012 16:29 |
|
I'm pretty sure Mechanize doesn't handle Javascript, and you need to drive/script WebKit or Gecko with WATIR or similar.
|
| # ? Jul 24, 2012 16:35 |
|
A day's passed and all the DHCP/DNS fun is working like a charm. I ended up dropping reverse DNS because I couldn't get the configuration files right, and don't have much use for it anyways. Now that I'm on the server kick I'm looking for other things I can do with a headless Linux server. Already setup: CUPS/SANE Google CloudPrint IRSSI Proxy DHCP DNS Samba Apache/PHP/MySQL Webmin I'm trying to think of other uses for it and drawing a blank.
|
| # ? Jul 24, 2012 16:48 |
|
Is there a fast way to transfer most of a Linux setup from a VM to a desktop or the other way around? Like I have an Arch Linux installed on a VM right now and I don't know if there's a good way to somehow pull a list of install packages and all my configuration files and stuff so I could just install Arch on the desktop and then have it install all the same packages (minus the vmware things I guess) and copy my old configuration files, or if there's a better way to do this. Also, what's the fastest method for remote access if you want more than just terminal access? I was using nomachine before because I'd used it at my school and it was pretty snappy, but it was a pain to get it working right and now it broke again so I'm looking for an alternative if possible.
|
| # ? Jul 24, 2012 17:20 |
|
Fortuitous Bumble posted:Is there a fast way to transfer most of a Linux setup from a VM to a desktop or the other way around? Like I have an Arch Linux installed on a VM right now and I don't know if there's a good way to somehow pull a list of install packages and all my configuration files and stuff so I could just install Arch on the desktop and then have it install all the same packages (minus the vmware things I guess) and copy my old configuration files, or if there's a better way to do this. quote:Also, what's the fastest method for remote access if you want more than just terminal access? I was using nomachine before because I'd used it at my school and it was pretty snappy, but it was a pain to get it working right and now it broke again so I'm looking for an alternative if possible. VNC should do you fine.
|
| # ? Jul 24, 2012 17:27 |
|
Frozen-Solid posted:A day's passed and all the DHCP/DNS fun is working like a charm. I ended up dropping reverse DNS because I couldn't get the configuration files right, and don't have much use for it anyways. NX. Kerberos. Fix reverse DNS (generally, SOA, one NS record is all you need, with PTRs for whatever else, ala: 1 PTR gateway.your.domain. LDAP (FreeIPA ties Kerberos and LDAP together nicely) for centralized auth, Kerberos for single sign-on. Jabber server. DLNA. SABNZBD. Transmission-web or other web-based torrent client. NFS. PXE. Time Machine, if you have any macs.
|
| # ? Jul 24, 2012 17:47 |
|
crosspost : so I have a dumb linux question I bought an asus zenbook with a SSD, and I'm trying to dual boot a windows install with ubuntu. I have windows 7 installed, and my partitions all set - with about 16gb free for a linux install. my disk is formatted as a 'basic' windows disk, not a dynamic. when I try to install ubuntu, I get to the point where I'm selecting the partition/drive to install it to, and it sees my SSD, but it shows the drive as having 0 partitions, with 100% space free. obviously I'm not going to continue from that point, as the installer would just overwrite my partition table and gently caress my windows install. anyone have any idea why linux wouldn't be seeing my partitions on this SSD?
|
| # ? Jul 24, 2012 17:52 |
|
spankmeister posted:Image it. You can use something like clonezilla. Thanks, for some reason I'd thought that VNC setups could only display an entire desktop, but I setup my server (tightvnc) to launch individual programs instead of an entire desktop and it seems to work fine. I'm guessing this has something to do with the way the X window system works. The only problem is it seems a bit slow compared to nomachine, which I think was just compressed/cached X forwarding. Maybe it's just an issue with not using a good VNC viewer though.
|
| # ? Jul 24, 2012 18:42 |
|
Fortuitous Bumble posted:The only problem is it seems a bit slow compared to nomachine, which I think was just compressed/cached X forwarding. Maybe it's just an issue with not using a good VNC viewer though. NX only supports X11 and this lets it get away with a lot of vicious X11-specific optimizations. VNC is not X-specific, which gives it more flexibility at the cost of not being able to optimize as aggressively. Open something in NX that makes heavy use of "hand-drawn" image buffers and the like (ie, stuff that has to be transmitted as actual images rather than compressed X11 protocol traffic) and you'll see performance drop to around that of VNC, if not worse.
|
| # ? Jul 24, 2012 19:51 |
|
Fortuitous Bumble posted:Thanks, for some reason I'd thought that VNC setups could only display an entire desktop, but I setup my server (tightvnc) to launch individual programs instead of an entire desktop and it seems to work fine. I'm guessing this has something to do with the way the X window system works. Oh you just want to do single programs? Just use X11 forwarding over SSH.
|
| # ? Jul 24, 2012 19:52 |
|
That can be painful even on a LAN. Wu, redraws.
|
| # ? Jul 24, 2012 20:08 |
|
Yeah, even with -C and on a LAN that can have really sad performance depending on what you're doing. Also, NX gets you screen-style detach/attach. ssh -XC is nice in that it requires no setup at all but it's not really a good long-term solution.
|
| # ? Jul 24, 2012 20:54 |
|
mindphlux posted:anyone have any idea why linux wouldn't be seeing my partitions on this SSD? Do you have any other drives? Are they showing up? Check the system boot log (or dmesg) and make sure the controller/drive was actually seen and initiallised.
|
| # ? Jul 25, 2012 13:59 |
|
I'm going to be deploying a web application over the next month. At the moment I've been using an Ubuntu Server, because what I've been used to on my desktop is Ubuntu and more recently Arch Linux. That said, I'd like to make sure I'm deploying on a distro suited for the job, not anticipating heavy lead off the bat but you never know. I'm not adverse to getting used to a new distro if there's one more suitable to server use. I'm using Linode for the moment, and the web app is a python app using Django, if that affects my choices. I know Distro choice is always contentious and subjective, judging by the results of googling about it, but anyway, just trying to get opinions much more educated than my own.
|
| # ? Jul 25, 2012 22:53 |
|
Maluco Marinero posted:I'm going to be deploying a web application over the next month. At the moment I've been using an Ubuntu Server, because what I've been used to on my desktop is Ubuntu and more recently Arch Linux. Also: "averse."
|
| # ? Jul 25, 2012 23:05 |
|
Maluco Marinero posted:I'm going to be deploying a web application over the next month. At the moment I've been using an Ubuntu Server, because what I've been used to on my desktop is Ubuntu and more recently Arch Linux. My advice is to use what you and anyone else who has to maintain it are familiar with. The only exception would be something that doesn't offer some kind of paid support if you really get in a jam, which means don't pick something like Gentoo or Slackware. Even if you never need the support, having it as an option is worth it. All the web servers I run at my work are Ubuntu Server Edition. It's been great for us, super stable, and easy to maintain. There's definitely nothing wrong with running it in a production environment. If you do go with Ubuntu Server, stick to the LTS editions. (Every 2 years they do an LTS release, that gets 5 years of security updates)
|
| # ? Jul 25, 2012 23:22 |
|
No probs, I'll stick with Ubuntu then. I was already going to go for the LTS versions anyway, just making sure it was cutting the mustard in production environments. Cheers.
|
| # ? Jul 25, 2012 23:28 |
|
Just checked on my Ubuntu 08.04 production server. Processor information Intel(R) Xeon(R) CPU 5160 @ 3.00GHz, 4 cores System uptime 252 days, 20 hours, 41 minutes Running processes 176 CPU load averages 0.01 (1 min) 0.03 (5 mins) 0.00 (15 mins) CPU usage 0% user, 0% kernel, 0% IO, 100% idle Real memory 4.95 GB total, 936.13 MB used
|
| # ? Jul 26, 2012 00:04 |
|
No reboot in that long? Are you using ksplice or something for kernel updates?
|
| # ? Jul 26, 2012 00:17 |
|
It's much more likely that Ubuntu 8.04 hasn't received any kernel updates in at least that long. 4 years into an LTS cycle is quite a while. As I understand it, LTS releases get security updates for 5 years but updated kernels (to support new hardware) for only 2 years. After that, it's reasonable to expect you to use the next LTS version. If it's new hardware you'll almost certainly do a fresh install and it makes more sense to use a newer distribution since there aren't any potential issues from upgrading in place.
|
| # ? Jul 26, 2012 00:37 |
|
I actually haven't as been up to date with patches as I could be, as I've been working on migrating to 12.04 and building a new server on a new SAN. Unfortunately the company actually installing the SAN has been less than quick about getting us set up to use it.
|
| # ? Jul 26, 2012 00:45 |
|
I just installed Arch and Gnome 3 in Virtualbox. Problem: When I'm moving the mouse around the overview mode randomly comes up. Sometimes it stays up, sometimes it comes up for one second and then goes back to the application I was using. I made sure my Win key and Alt-F1 weren't stuck somehow... Any ideas on how to fix this?
|
| # ? Jul 27, 2012 17:12 |
|
Do you have the virtual box guest additions installed?
|
| # ? Jul 27, 2012 17:41 |
|
Thermopyle posted:I just installed Arch and Gnome 3 in Virtualbox. https://bugzilla.gnome.org/browse.c...uct=gnome-shell Didn't see a relevant bug, but also didn't sort through the 1000-long "normal" bug list. Probably a virtualbox thing. If seamless mouse stuff is enabled, see if disabling it fixes the problem. Maybe it's moving the cursor in strange ways on transition?
|
| # ? Jul 27, 2012 17:53 |
|
Goon Matchmaker posted:Do you have the virtual box guest additions installed? Yeah. I'm able to copy/paste between host and VM, enter seamless mode, etc. Doctor w-rw-rw- posted:https://bugzilla.gnome.org/browse.c...uct=gnome-shell I'll try the mouse thing in a couple hours. I wouldn't think it's that because it happens when I keep the mouse completely within the VM or when I'm in full-screen. We'll see...
|
| # ? Jul 27, 2012 18:52 |
|
VirtualBox settings has an "Enable absolute pointing device" option that I disabled and that fixed it, I think. It's been half a decade since I messed around with virtual machines. They're pretty good now! I can enable full-screen mode and I pretty much can't tell I'm running an OS in a VM. edit: OK, nevermind...still not fixed. VBox doesn't have a specific "disable mouse integration" option as far as I can tell. I've found that every few clicks it thinks I'm clicking at the top of the screen instead of wherever I'm actually clicking. Thermopyle fucked around with this message at Jul 27, 2012 around 22:38 |
| # ? Jul 27, 2012 22:03 |
|
Thermopyle posted:VirtualBox settings has an "Enable absolute pointing device" option that I disabled and that fixed it, I think. Plug in a second mouse and use USB passthrough.
|
| # ? Jul 27, 2012 22:56 |
|
Thermopyle posted:VirtualBox settings has an "Enable absolute pointing device" option that I disabled and that fixed it, I think. Is the "disable mouse integration" option under Machine good enough?
|
| # ? Jul 27, 2012 23:15 |
|
Longinus00 posted:Is the "disable mouse integration" option under Machine good enough? Oops, I missed that. Unfortunately, when I do that I don't have a mouse cursor.
|
| # ? Jul 28, 2012 02:26 |
|
|
| # ? May 25, 2013 00:01 |
|
Thermopyle posted:I just installed Arch and Gnome 3 in Virtualbox. This is stupid, and almost certainly not the problem, but since you didn't mention it, I will throw out this obligatory "you're not mousing to the upper left hot-corner, right?" The reason I ask is, I've used an extension to disable it on my main computer for so long that I was surprised and confused when it popped up on my laptop.
|
| # ? Jul 28, 2012 15:05 |





















