|
I'm not even sure what the gateway is. Route shows a bunch of crap:code:
|
# ? Jan 26, 2016 23:55 |
|
|
# ? Jun 6, 2024 11:48 |
|
It looks like you've got two things on your network that are presenting themselves as gateways (the fe80 link-local addresses). Can you browse to either of them and get a web page up to see what's going on?
|
# ? Jan 27, 2016 00:41 |
|
Kilson posted:I'm not even sure what the gateway is. Route shows a bunch of crap: Beyond what Thanks Ants said, "default via..." is the gateway, generally.
|
# ? Jan 27, 2016 01:47 |
|
Excuse my ignorance with this. I am trying to give an FTP user access to a directory outside of their home by doing the following...code:
edit: Yep permissions, sorted out Bearnt! fucked around with this message at 07:43 on Jan 27, 2016 |
# ? Jan 27, 2016 02:49 |
|
Thanks Ants posted:It looks like you've got two things on your network that are presenting themselves as gateways (the fe80 link-local addresses). Can you browse to either of them and get a web page up to see what's going on? I can't even ping them, it says they're invalid for some reason. [root@dut ~]# ping6 fe80::a64c:11ff:fee4:dac0 connect: Invalid argument Trying to browse to them comes up with nothing, and they don't seem to respond to ssh either. No idea what those are or where they came from.
|
# ? Jan 27, 2016 16:34 |
|
fe80 is link-local. You need to ping with -I $dev to ping them. It's possibly (probably) the link-local address of your router. How are you configuring ipv6? 6to4? ISP-provided?
|
# ? Jan 27, 2016 16:42 |
|
evol262 posted:fe80 is link-local. You need to ping with -I $dev to ping them. It's possibly (probably) the link-local address of your router. How are you configuring ipv6? 6to4? ISP-provided? Ahh, I see, I can ping them when I do that. I think we're supposed to have some ISP-provided global IPv6 address, not 6to4 or any kind of translation.
|
# ? Jan 27, 2016 16:53 |
|
Kilson posted:Ahh, I see, I can ping them when I do that. I think we're supposed to have some ISP-provided global IPv6 address, not 6to4 or any kind of translation. I think he means is it configured through SLAAC, DHCPv6., or are you punching in numbers. Link local addresses for routers is normal.
|
# ? Jan 27, 2016 17:49 |
|
thebigcow posted:I think he means is it configured through SLAAC, DHCPv6., or are you punching in numbers. Link local addresses for routers is normal. I really have no idea how it happens. I've tried IPV6_AUTOCONF=yes and let it get/generate(?) its own address, and I've tried IPV6_AUTOCONF=no and putting in an address manually. Either one seems like it can work in a limited fashion, but I have weird inconsistent results trying to reach external addresses and I've had problems with external entities reaching my machine, regardless of which configuration options I choose. Sorry if I'm not answering the questions very well, my knowledge with IPv6 is quite limited. I know that in Windows, IPv6 just works - not sure why it's proving to be so difficult in Linux. edit: My guess is that it's using SLAAC when I set it to autoconfigure. It's generating an address based on the prefix we're supposed to have, given by the ISP, and the MAC address of the interface. Kilson fucked around with this message at 18:05 on Jan 27, 2016 |
# ? Jan 27, 2016 18:02 |
|
You have two default routes on the same interface. This is ok if you have multiple interfaces (or multiple addresses on the same link), since the kernel is smart enough to respond based on the source. It's not ok if they're on the same NIC (you'll have ARP problems) Please paste "ip -6 addr show dev eth0" You should probably also try checking for router advertisements with tcpdump or wireshark (they come in 2-3 times per minute, so it shouldn't take long). It's ok to get multiple SLAAC addresses. It's not ok to have multiple gateways. Try connecting to each to see which is the router you want and block the other one, then find the rogue system with radvd or whatever's advertising.
|
# ? Jan 27, 2016 18:23 |
|
code:
code:
code:
edit: If I manually remove the extra entries from the routing table, to leave only one default, the behavior seems identical with either address. I can only ping some of the ipv6.google.com addresses, and I can't reach other external addresses I need to access. Kilson fucked around with this message at 19:23 on Jan 27, 2016 |
# ? Jan 27, 2016 18:54 |
|
Those are only neighbors. dac0 isn't sending router adverts (that I see here) And you only have one link-local address, which is good. Try: tcpdump -i eth0 ip6 and icmp6 And look for router advertisements. Not neighbors. You can restrict this with: tcpdump -i eth0 ip6 and icmp6 and ip6[40] == 134 Are you sure your router is configured correctly? Is it a consumer thing, or can you actually log in and check it there?
|
# ? Jan 27, 2016 19:36 |
|
evol262 posted:Those are only neighbors. dac0 isn't sending router adverts (that I see here) I assumed that the packets that had flag [router, solicited] meant it was some kind of router. This is a machine at some datacenter, so I don't have any access to any of the routing infrastructure. I would have to assume they've set it up correctly, but who knows. I don't receive any packets at all when I use the second dump, and with the first one I don't see anything that says it's a router advertisement.
|
# ? Jan 27, 2016 20:01 |
|
Ran into a permission or possible disk error.Bash code:
|
# ? Jan 27, 2016 22:10 |
|
salisbury shake posted:my_username@my_hostname:/mnt/Storage/BitTorrent/.incomplete$ ls -lah . Directories need the x permission. Try 'chmod 777 "Warpaint - The Fool - 2010 v0"'.
|
# ? Jan 27, 2016 22:44 |
|
Hollllyy shiit. Ive been fighting with my computer for 7 hourd trying to install ubuntu on a newly aquired lovely aspire ES 13 (ES1-331-C5M9) and it is like trying to shove a spoonful of porridge in your spoiled bratty childs mouth. I'm also retarded. Usually a kernel panic error pops up as a passive aggressive gently caress you from the boot log. Something about IO-APIC + timer not working. Is there anyway to fix it before I go all "office space" on this bitch?
|
# ? Jan 27, 2016 22:46 |
|
Kilson posted:I assumed that the packets that had flag [router, solicited] meant it was some kind of router. Neighbor advertisements could be the router, but may not be. Router adverts are more reliable. Do any other addresses show up? Can you tcpdump a ping that's half-working? Curdy Lemonstan posted:Hollllyy shiit. Ive been fighting with my computer for 7 hourd trying to install ubuntu on a newly aquired lovely aspire ES 13 (ES1-331-C5M9) and it is like trying to shove a spoonful of porridge in your spoiled bratty childs mouth. I'm also retarded. Usually a kernel panic error pops up as a passive aggressive gently caress you from the boot log. Something about IO-APIC + timer not working. Is there anyway to fix it before I go all "office space" on this bitch? Try noapic
|
# ? Jan 27, 2016 23:09 |
|
evol262 posted:Neighbor advertisements could be the router, but may not be. Router adverts are more reliable. Do any other addresses show up? Can you tcpdump a ping that's half-working? No other addresses that I've seen show up in tcpdump. When I did the one with "and ip6[40] == 134", I got zero packets in over an hour. I tried pinging Google repeatedly until one of the addresses was reachable. It's mostly just sending packets into the void, until it picks an address I can reach, then I get immediate responses. code:
code:
Furthermore, I started receiving incoming IPv6 traffic from the endpoint I really need to be able to connect to. Unfortunately, I still can't successfully send anything in the reverse direction. Is there any local reason these things could happen? It all just seems super strange to me.
|
# ? Jan 28, 2016 00:12 |
|
Saukkis posted:Directories need the x permission. Try 'chmod 777 "Warpaint - The Fool - 2010 v0"'. So I'm retarded. Thanks for the solution.
|
# ? Jan 28, 2016 01:54 |
|
Kilson posted:Is there any local reason these things could happen? It all just seems super strange to me. You can try disabling arp_filter for eth0, though
|
# ? Jan 28, 2016 02:25 |
|
evol262 posted:Not a good one that I can think of. Is this interface VLANed? I'm pretty sure it's not VLANed, but I can't say with 100% certainty. Doesn't arp_filter only apply to ipv4? At least it doesn't seem to be an option for ipv6. In any case, it seems to be already turned off: [root@dut ~]# cat /proc/sys/net/ipv4/conf/eth0/arp_filter 0
|
# ? Jan 28, 2016 16:35 |
|
Any hardware suggestions for a small home Linux server? I need something smaller and quieter to take over the reins from the HP9000 that's been my trusty server for 10 years or so. Requirements are so modest that I could almost get away with an RPi or something, but I'd like something that's more reliable and has some real storage. Intel NUCs look juicy but are quite pricey. There are similar cheaper things from Acer or whatever, but I'm not sure I could necessarily count on them to run Linux well? They typically come preloaded with some Windows version that it irritates me to pay for, however little. Also, these media server type things are not exactly meant for the purpose of headless server, but I don't suppose that'd be a problem as long as they don't have some weird destabilizing hardware.
|
# ? Jan 28, 2016 22:47 |
|
Neslepaks posted:Any hardware suggestions for a small home Linux server? What about the atom NUCs, $130 for dual core and $170 for quad core? Something like this
|
# ? Jan 28, 2016 22:57 |
|
I run Xubuntu on a J1800 Celeron ITX board. It only has two SATA ports and I have 2x 2.5" mechanical HDD plugged in. One for the OS and storage and the other has a weekly cron job to rsync sda to sdb. It's pretty basic for a home server but it runs nfs, Plex (1080p!) and samba no problem. It's powered by a 90W PicoPSU and last time I plugged in a power meter it was sipping about 12W from the mains. It's been solid for at least 18 months. The J1800 is just about at its limit streaming 1080p with Plex, so luckily the system meets its requirements perfectly with minimum overkill.
|
# ? Jan 28, 2016 23:28 |
|
Twerk from Home posted:What about the atom NUCs, $130 for dual core and $170 for quad core? Something like this Perfect. Ordered, thanks.
|
# ? Jan 29, 2016 00:05 |
|
Twerk from Home posted:What about the atom NUCs, $130 for dual core and $170 for quad core? Something like this
|
# ? Jan 29, 2016 00:47 |
|
Vulture Culture posted:Can confirm that the N3700 NUC is a powerhouse relative to the 6W TDP You have one? It does plex transcoding? drat, I should have gotten one. I found it way more interesting an idea to have 4 very slow cores, but I picked up a refurb Haswell i5-4250u for $150 on ebay 6 months ago instead. The Haswell NUCs aren't as nice as the Broadwell / Braswell ones though.
|
# ? Jan 29, 2016 02:08 |
|
Kilson posted:I'm pretty sure it's not VLANed, but I can't say with 100% certainty. Doesn't arp_filter only apply to ipv4? At least it doesn't seem to be an option for ipv6. In any case, it seems to be already turned off: Long day. I meant privacy extensions.
|
# ? Jan 29, 2016 17:12 |
|
Twerk from Home posted:You have one? It does plex transcoding? drat, I should have gotten one. I found it way more interesting an idea to have 4 very slow cores, but I picked up a refurb Haswell i5-4250u for $150 on ebay 6 months ago instead. The Haswell NUCs aren't as nice as the Broadwell / Braswell ones though.
|
# ? Jan 29, 2016 17:51 |
|
I've had good results turning decomissioned laptops into home servers. If it's just obsolete, you now have a server with a built in keyboard and screen for troubleshooting and a built in UPS. If someone stepped on the screen or something, it's no worse than a normal headless and you still get the built-in battery. They tend to be compact and power-efficient, too. Biggest problem is lack of storage, but that's easy to address with eSATA or USB3 external enclosures. Obviously this is pretty price-inefficient if you're getting a new server, but if you have an unused laptop lying around already it's great.
|
# ? Jan 29, 2016 18:09 |
|
So I've got some linux experience, probably ran every distro worth mentioning for some time at some point in my life. The thing is I feel like I don't actually know anything about it. I can hack my way around pretty much every problem I encounter, but it usually ends up being just that, a hack and a half-assed one at that. Google is usually my best friend, I can't actually do poo poo on my own. This works great on the short-term, after a while though my system usually turns into an unworkable mush. What are good resources I can use to learn linux from A to Z, leaving no stones unturned. I want to know everything. No more googling of config files and copy pasting someone else's work because I can't figure it out for myself. Help me RTFM
|
# ? Jan 29, 2016 22:11 |
|
Highblood posted:So I've got some linux experience, probably ran every distro worth mentioning for some time at some point in my life. The thing is I feel like I don't actually know anything about it. I can hack my way around pretty much every problem I encounter, but it usually ends up being just that, a hack and a half-assed one at that. Google is usually my best friend, I can't actually do poo poo on my own. This works great on the short-term, after a while though my system usually turns into an unworkable mush. Find evol262, kill him, and eat his heart. This will get you half way there, then use the knowledge you absorbed to find the head developer of every project and do the same. Alternatively, use it every day.
|
# ? Jan 29, 2016 22:58 |
|
I'm OK with Linux (there are much more knowledgeable people at Red Hat, and both Suspicious Dish and telcoM are probably more knowledgeable than I am), but I'd suggest doing "real things" with it. Pick a distro and stick with that. Configure services you want. Nobody can keep the syntax of every config file in their head, but that's what Google and manpages are for. You can learn the ones you use often, though Get good at root cause analysis. When you find a bug, don't just hack it. See if there's a patch on a bug tracker or git for it. Build a package with that and test it. If there isn't one, read the code and see if you can figure out what's happening. Write a patch and submit it. Don't get emotional about code review if they ask for it to be reworked. Isolate services you want in VMs or containers. Learn to write systemd unit files to get the things you want running. I think the big question is "what are you using Linux for?" To be honest, if you're a hobbyist, you may never get "good", or beyond "competent", but it never hurts to read the docs (security/deployment guides, rhce study material, docs for things you find interesting, learning to script/program in a "real" non-shell language)
|
# ? Jan 29, 2016 23:25 |
|
I have a passing interest in running Firefox sandboxed in Fedora. My question is whether this a good idea? if $question ; then echo 'Are there any recommendations for doing so?' fi DeaconBlues fucked around with this message at 07:57 on Jan 30, 2016 |
# ? Jan 30, 2016 07:53 |
|
DeaconBlues posted:I have a passing interest in running Firefox sandboxed in Fedora.
|
# ? Jan 30, 2016 18:04 |
|
DeaconBlues posted:I have a passing interest in running Firefox sandboxed in Fedora.
|
# ? Jan 30, 2016 18:17 |
|
Thanks. I'll check both of those ideas out.
|
# ? Jan 30, 2016 18:33 |
|
hello I'm trying to run a backup script on my debian server via cron. I have a little shell script that runs rsync to do the backup, based on this: https://aaronparecki.com/articles/2010/07/09/1/how-to-back-up-dropbox-automatically-daily-weekly-monthly-snapshots I put the script in /usr/local/bin and it works fine when I run it manually with: $ backup daily go I edited my crontab ($ crontab -e) so it looks like this: code:
code:
What am I doing wrong? Is there a separate error log somewhere that might show an error?
|
# ? Jan 30, 2016 20:35 |
|
Cron needs the full path. Give it /usr/local/bin/backup
|
# ? Jan 30, 2016 20:59 |
|
|
# ? Jun 6, 2024 11:48 |
|
fuf posted:hello I'm trying to run a backup script on my debian server via cron. I would suspect that "cron" doesn't have the same $PATH as when you run it interactively. Edit crontab to use the full path /usr/local/bin/backup and possibly edit the script to use the full path for rsync-command. Additional error messages may be in root's mail, check the contents of /var/spool/mail/root.
|
# ? Jan 30, 2016 21:02 |