|
nescience posted:Yeah I don't really have my firewall set. I'm just following a tutorial on a blank VPS. What provider? Try killing SNMP, starting it in the foreground/debug, and connecting
|
# ? Apr 18, 2014 06:41 |
|
|
# ? Jun 13, 2024 04:14 |
|
nescience posted:
UDP sockets can apparently be listed as bound to 0.0.0.0 even though the application is configured to accept traffic on specific interfaces/IP addresses only: I've seen this behavior before with Samba nmbd and ntpd at least. What is the actual command line used to start snmpd? The address(es) to listen to might be specified on the command line. According to the above, your snmpd PID is 25944, so what is the output of "ps -fp 25944"? Alternatively, the addresses to listen to might be specified in the snmpd configuration file too: please run "grep -i agentaddress /etc/snmp/snmpd.conf". The addresses/ports snmpd should be listening to can be specified in many ways: type "man snmpd" in a terminal window and look for a paragraph titled "LISTENING ADDRESSES" for details.
|
# ? Apr 18, 2014 08:24 |
|
telcoM posted:UDP sockets can apparently be listed as bound to 0.0.0.0 even though the application is configured to accept traffic on specific interfaces/IP addresses only: I've seen this behavior before with Samba nmbd and ntpd at least. I've tried agentaddress 127.0.0.1 udp:161 and agentaddress public_ip udp:161. I guess it's possible that 127.0.0.1 only counts as the loopback0 interface and not the NIC going to the Internet?It's currently set to agentaddress udp:161 to just let anything through. nescience fucked around with this message at 11:18 on Apr 18, 2014 |
# ? Apr 18, 2014 11:15 |
|
jkyuusai posted:I got fed up with dicking around with config files written in Haskell before actually getting to the point of configuring Xmonad. This won't entirely solve your problems, but I've found spectrwm to be much nicer than Xmonad for my uses. It's a complete reimplementation of Xmonad in C, with a nice simple config file. Same keyboard shortcuts, same features.
|
# ? Apr 18, 2014 13:48 |
|
nescience posted:I've tried I'm reasonably sure that you'd need: udp:127.0.0.1:161 instead of 127.0.0.1:udp:161, but udp:161 is unnecessary anyway since those are the defaults. Try: snmpd -f -c /etc/snmp/snmpd.conf Then connect from another SSH session and try to snmpwalk localhost. Also: grep interface /etc/snmp/snmpd.conf And check /etc/default/snmpd or /etc/sysconfig/snmpd (depending on your distro) to make sure nothing stupid is set.
|
# ? Apr 18, 2014 15:46 |
|
wooger posted:This won't entirely solve your problems, but I've found spectrwm to be much nicer than Xmonad for my uses. awesome, but it's just as bad with config files, except they're in Lua and are broken in each new release. i3 has been good, despite me not taking a serious effort to figure it out completely and not having used it with multiple monitors. Should handle it though, it's recent.
|
# ? Apr 18, 2014 16:58 |
|
evol262 posted:WWN, like everything else SCSI. Well, I got this working but it pretty much fails after the first device. I connect to the first target, get the ID, create the udev rule mapping it to /dev/sdb, and reconnect. Great, I have /dev/sdb. Second device: I connect, the kernel overwrites the /dev/sdb device node with this new ISCSI device. =[
|
# ? Apr 18, 2014 17:37 |
|
Illusive gently caress Man posted:Well, I got this working but it pretty much fails after the first device. I connect to the first target, get the ID, create the udev rule mapping it to /dev/sdb, and reconnect. Great, I have /dev/sdb. Second device: I connect, the kernel overwrites the /dev/sdb device node with this new ISCSI device. =[ Why are you using sdb when it's bad practice and problematic? Is this a hard requirement for something? Please explain what the actual problem you're trying to solve is.
|
# ? Apr 18, 2014 17:41 |
|
I can't really talk about a lot of it, but essentially I have a bunch of block devices for some user. He says "I want you to attach my block device here." and then my stuff will set that up. The ID/iscsi path/uuid will be completely meaningless to the end user. I'm starting to lean towards not honoring their request for the drive letter and instead somehow letting them know where it ended up after it's attached.
|
# ? Apr 18, 2014 17:52 |
|
Illusive gently caress Man posted:I can't really talk about a lot of it, but essentially I have a bunch of block devices for some user. He says "I want you to attach my block device here." and then my stuff will set that up. The ID/iscsi path/uuid will be completely meaningless to the end user. Ok, so let's try this from another angle. You have a working rule. What do you see in "dmesg | grep rename" after you attach both disks?
|
# ? Apr 18, 2014 18:17 |
|
evol262 posted:Ok, so let's try this from another angle. Nothing. udev doesn't seem to be sending anything to dmesg. I turned on debug logging in udev.conf and "udevd-event[16431]: udev_rules_get_name: rule applied, 'sda' becomes 'sdb'" started showing up in /var/log/messages I fixed it a bit by adding a default rule KERNEL=="sd*", BUS=="scsi", NAME="sdtemp%n", That way when I first connect, the device is assigned temp name and I get the scsi_id from that device node for the udev rule. My device nodes aren't getting overwritten anymore, but it does leave 'phantom' nodes lying around. IE: I attach a device at sdb, udev logs naming sda to sdb, sdb nodes are correctly created but sda,sda1,sda2 still exist. If I then attach a device with no partitions at sda, udev will log renaming sdb to sda, and the sda node will be changed to the correct device, but sda1 and sda2 still exist and are pointing to the partitions which are on 'sdb' I think I can just remove the extra nodes if I do it carefully. Edit: I did and it worked! Edit2: Not perfect, because if you fdisk and create partitions, it'll recreate these phantom ones if it can, but It's good enough for now. Illusive Fuck Man fucked around with this message at 20:56 on Apr 18, 2014 |
# ? Apr 18, 2014 20:00 |
|
Newbie time! So, after getting a few new PC parts I tried to upgrade to Ubuntu 14.04. One huge mess abandoned later, I'm just migrating my 13.10 to the new SSD. So I used dd to clone the old system drive to the new SSD, but had trouble booting it. Got it working, but I have to point the BIOS booter to a secondary HDD used to store media instead? Maybe the MBR is on the wrong drive I think? So as it stands, I'm booting etc but suboptimally. The dd tool left me with too-small partitions, but I'm sure I'll figure that out eventually. More importantly: Any way of copying over the MBR to the 'correct' drive?
|
# ? Apr 19, 2014 07:15 |
|
Serephina posted:Newbie time! Just as you say you're new to Linux, it really might be faster/easier to backup your /home directory and do a fresh install of 14.04 on your ssd. It should only take 20 mins or so and it may avoid any issues that arose with doing an 'in place' upgrade while properly sizing your partitions and sorting your mbr. If you'd rather not, try running gparted from a live cd to resize your partitions. This link should help you sort the mbr out. Prince John fucked around with this message at 23:12 on Apr 19, 2014 |
# ? Apr 19, 2014 08:48 |
|
Serephina posted:Newbie time! dd works but for cloning drives you'd want to use clonezilla. It does all the partition sizing for you, and it's way faster.
|
# ? Apr 19, 2014 09:18 |
|
Prince John posted:Just as you say you're new to Linux, it really might be faster/easier to backup your /home directory and do a fresh install of 14.04 on your ssd. spankmeister posted:dd works but for cloning drives you'd want to use clonezilla. It does all the partition sizing for you, and it's way faster. After the fact, I fear. Serephina fucked around with this message at 22:21 on Apr 19, 2014 |
# ? Apr 19, 2014 22:11 |
|
Serephina posted:Oh, and your link is iffy Fixed, sorry! Let us know how you get on with the mbr. When using dd to copy from hdd to sdd, did you remember to make any adjustment for 4k sector alignment or is it not needed in this case?
|
# ? Apr 19, 2014 23:19 |
|
I'm using debian at work and at home, and I'd like to stream audio over SSH. How is everyone accomplishing this? The only real convenient solution is via sshfs, but is there another or easier way to do this? I'm using cmus for my music player.
|
# ? Apr 24, 2014 13:24 |
|
Megaman posted:I'm using debian at work and at home, and I'd like to stream audio over SSH. How is everyone accomplishing this? The only real convenient solution is via sshfs, but is there another or easier way to do this? I'm using cmus for my music player. Edit: you could also set up an icecast server. waffle iron fucked around with this message at 13:55 on Apr 24, 2014 |
# ? Apr 24, 2014 13:52 |
|
You can cat the mp3 file through school into mpg123. My boss did that for a while, though I don't remember the exact syntax to pipe the output of ssh into local mpg123.
FISHMANPET fucked around with this message at 17:13 on Apr 24, 2014 |
# ? Apr 24, 2014 14:07 |
|
I haven't really used it for music, but you could put plex server on your home machine. The at work use the web interface or the client. I'm using a max mini for my media server and most of my music goes through iTunes Match, however I set up an nginx proxy for all my back end stuff (sabnzbd, transmission, couch potato, sick beard) and have my whole storage partition browsable. That way I can log in and grab something via http or add new stuff. If I really want an album I download it via http or winscp at work, or toss it on my Dropbox directory temporarily.
|
# ? Apr 24, 2014 15:25 |
|
I use Subsonic, it's the poo poo.
|
# ? Apr 24, 2014 15:28 |
|
SurgicalOntologist posted:I use Subsonic, it's the poo poo. That looks pretty good. I think I might toss it on my own machine.
|
# ? Apr 24, 2014 15:38 |
|
Start the graphical distribution upgrade to Ubuntu 14.04 last night before I went to bed. Woke up and it had stopped halfway through with details about the upgrade to postgres 9.3. It wasn't asking me a question...just a bunch of that it could've told me later.
|
# ? Apr 25, 2014 16:17 |
|
Reminder that if you had a power outage or your system shut down at that point, your computer would be hosed.
|
# ? Apr 25, 2014 16:42 |
|
Never had problems like that with fedup (Just a load of other problems, all distributions are terrible.)
|
# ? Apr 25, 2014 17:37 |
|
What's the best distro if you want a global menu bar like on a Mac?
|
# ? Apr 25, 2014 18:07 |
|
Riso posted:What's the best distro if you want a global menu bar like on a Mac? I don't know for sure because I don't use it, but I've heard people mention the new Ubuntu LTS release has that as an option. It might be a Unity thing.
|
# ? Apr 25, 2014 18:45 |
|
Oh I've looked at Ubuntu. It's so loving half-arsed I don't even know what to say.
|
# ? Apr 25, 2014 19:02 |
|
Riso posted:Oh I've looked at Ubuntu. It's so loving half-arsed I don't even know what to say. Real men use Debian
|
# ? Apr 25, 2014 19:07 |
|
Megaman posted:Real men use Debian OpenBSD
|
# ? Apr 25, 2014 19:14 |
|
Riso posted:What's the best distro if you want a global menu bar like on a Mac? Any one which runs a DE that supports global menu bars. Which appears to be anything which supports "gnome-globalmenu" (and that probably means OpenBSD is an option), but maybe there are more options than that, and maybe gnome-globalmenu is a terrible hack. Paging Suspicious Dish.
|
# ? Apr 25, 2014 19:30 |
|
Can I delete a partition that has an encrypted home drive on it?
|
# ? Apr 25, 2014 19:52 |
|
Sure, why not?
|
# ? Apr 25, 2014 19:54 |
|
evol262 posted:(and that probably means OpenBSD is an option) Please not, it was just a joke. If I wanted a firewall or router, yes, but on the desktop I am getting seizures by the very idea.
|
# ? Apr 25, 2014 20:23 |
|
evol262 posted:gnome-globalmenu is a terrible hack Correct.
|
# ? Apr 25, 2014 20:36 |
|
Newbie question: How do I go from 12.04 to 14.04? Is it an automatic update within the system or do I need to do some downloading? edit: I guess this answers my question
|
# ? Apr 25, 2014 20:37 |
|
Riso posted:OpenBSD Off to the *BSD thread please. For a Mac style global menu your best bet is Unity, honestly. But Gnome Shell (with extensions) and KDE can both be configured to support that.
|
# ? Apr 25, 2014 21:49 |
|
Riso posted:OpenBSD What are operating systems from the 90's no one uses anymore, Alex.
|
# ? Apr 25, 2014 22:14 |
|
Megaman posted:What are operating systems from the 90's no one uses anymore, Alex. Much of OpenBSD goes into FreeBSD, and OpenBSD is still big in security research. Plus their work on OpenSSH, OpenNTPd, their recent cleanup of OpenSSL (LibreSSL), etc. It's still very relevant.
|
# ? Apr 25, 2014 22:27 |
|
|
# ? Jun 13, 2024 04:14 |
|
evol262 posted:their recent cleanup of OpenSSL (LibreSSL) That isn't remotely usable yet. I applaud their efforts however and will keep an eye on it. My hope is actually for PolarSSL to gain more ground, and maybe NaCl will produce something that can actually do TLS.
|
# ? Apr 25, 2014 22:32 |