|
So I'm learning Linux by making a small raspberry pi project using a light weight version of Ubuntu and I was wondering what a good method for sending the contents of ifconfig to me was, so I could SSH into the pi without having to hook it into a display. I was thinking a script that happens x amount of seconds after boot up that 1) Creates a text file 2) echos what ever ifconfig would output [eth0 and wlan0] into it 3) uploads said file to a server my problem is I don't know the syntax or if part two is possible, or if this is necessarily a good way of doing it. So I'm open to suggestions.
|
# ? Dec 22, 2017 00:01 |
|
|
# ? Apr 20, 2024 03:52 |
|
KildarX posted:So I'm learning Linux by making a small raspberry pi project using a light weight version of Ubuntu and I was wondering what a good method for sending the contents of ifconfig to me was, so I could SSH into the pi without having to hook it into a display. Inspect your own arp table for mac addresses that have the raspberry pi MAC OUI. Which is B8-27-EB. https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries You could also inspect the DHCP server handing out IPs, or set up DDNS so that you can have a DNS name that always points to whatever your raspberry pi has registered. Methanar fucked around with this message at 00:17 on Dec 22, 2017 |
# ? Dec 22, 2017 00:11 |
|
If you can access the admin pages for your router you're probably best off looking for the IP of the Pi there once it has connected. Then you can also give it a static lease so it keeps the same IP. If you can't it should still be easier to just scan for computers on your local network from your existing desktop. What you want to do is possible though. Redirecting output is fairly simple. ifconfig > output.txt will redirect the output of ifconfig into output.txt, creating it if necessary. Input can be redirected similarly with <.
|
# ? Dec 22, 2017 00:15 |
|
double post?
|
# ? Dec 22, 2017 00:17 |
|
KildarX posted:
Not the approach id take, but you could do 1 & 2 in the same line with output redirection : ifconfig -a > file.txt Try it out.
|
# ? Dec 22, 2017 00:18 |
|
So who wants to build a bike shed?
|
# ? Dec 22, 2017 00:20 |
|
Is there an easy way to remove the login screen from the latest ubuntu distro when you wake from sleep (i.e. close and open the laptop)? There really is nobody else here and I think I can take the security risk. That would be great.
|
# ? Dec 22, 2017 23:33 |
|
Hey everybody, I'm running Mint 18.3 and I think it just got boned somehow. I noticed the mint updater icon wasn't in the panel so I thought "ehh, I'll go run it and see what's up". This is what's up; $ mintupdate $ Traceback (most recent call last): File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 15, in <module> import pycurl ImportError: pycurl: libcurl link-time version (7.47.0) is older than compile-time version (7.52.1) I have no idea how (or exactly what) happened. The only thing I changed at all today was adding the pipelight package from ppa:pipelight/stable, and I installed filezilla and did normal updates. I'm looking at that stuff now though and it doesn't depend on, recommend or provide any packages related to curl or python. If it's not that, what could be going on? If it is that, how? And what do I do about it? There is a package called libcurl installed, and it is indeed 7.47.0, but there are no other versions of it in my repos to force. Mintupdate also only has one version, so nothing weird could have happened there. There's also python3-pycurl but that's 7.43.0 (also no other versions.) So, any ideas? edit: Here's my dpkg.log from today https://pastebin.com/raw/NF9NYmXu I cant see it being something other than something I installed because, otherwise, I haven't done anything today besides gently caress around in irc and check my email. Edit: Remembered Mint comes with Timeshift now, went back a couple days and all is well, for now. Still, who knows what happened and if it will happen again :/ BrainDance fucked around with this message at 10:59 on Dec 24, 2017 |
# ? Dec 24, 2017 09:56 |
|
Well, this is one kind of slashdot post that I haven't seen in at least 15 years if not more: Could 2018 Be The Year of the Linux Desktop? .
|
# ? Dec 24, 2017 21:37 |
|
^^ finally, our time is now, grandma will learn to use i3 and compile from sourcelllllllllllllllllll posted:Is there an easy way to remove the login screen from the latest ubuntu distro when you wake from sleep (i.e. close and open the laptop)? There really is nobody else here and I think I can take the security risk. That would be great. Install dconf-editor navigate to org -> gnome -> desktop -> lockdown and set disable-lock-screen to on should work, maybe
|
# ? Dec 25, 2017 02:14 |
|
The Phlegmatist posted:Install dconf-editor
|
# ? Dec 26, 2017 09:55 |
|
Chrome is crashing without warning (just closing all tabs) on my Fedora 27 desktop. Disabling all extensions didn't help, I also tried Chromium and Firefox but it still happens there. At first I thought it was tied to doing something multimedia-related but now I think it will just happen eventually regardless. Gnome in general is not acting very stable either, it is ocassionaly kicking me back out to the login screen. Not sure if it's related to the browser crashes. Here's the dmesg after a chrome crash: code:
This started happening after not using this desktop for about 4 months (vacation and moving). After getting it set up again, I ran dnf update, then do-release-upgrade up to 27. It's running Wayland and I have a Radeon 7750 with the default open-source graphics (from a quick google that seems to be the only option these days). Any ideas for troubleshooting? If gnome crashes again I'll post the dmesg for that to see if it's the same segfault. Also, not sure it's related, but got these messages at startup: code:
code:
SurgicalOntologist fucked around with this message at 00:01 on Jan 3, 2018 |
# ? Jan 2, 2018 23:54 |
|
fontconfig is a piece of trash. remove your .fonts.conf.
|
# ? Jan 3, 2018 00:08 |
|
I guess I should have tried that. I really like the way my conf looks but of course it's not worse the instability. Thanks. I'll post back if that doesn't solve it.
|
# ? Jan 3, 2018 00:14 |
|
Still getting this one:code:
Edit: actually maybe that was just when logging back in to gnome-shell after the crash (which occurred waking up from sleep), and this is the culprit: code:
|
# ? Jan 5, 2018 01:13 |
|
Welp we upgraded a couple test CentOS 6 XenServer VM's to the new kernel with the mitigations for Meltdown/Spectre today. They refuse to boot, had to edit grub.conf to revert to the previous version. Seems like there may be a severe bug with the new kernel on XenServer? gently caress my life. https://discussions.citrix.com/topic/392239-new-centos-6-kernel-fails-to-boot-on-xenserver-65/#comment-1995417 thisisfine.gif
|
# ? Jan 5, 2018 18:43 |
|
SurgicalOntologist posted:I guess I should have tried that. I really like the way my conf looks but of course it's not worse the instability. Thanks. I'll post back if that doesn't solve it. It's interesting you ran into problems with fonts, because the last time I tried to make them look better on Fedora, the whole system crashed hard. I was configuring something starting with infini, forgot the full name.
|
# ? Jan 7, 2018 11:12 |
|
Hi. I've restored an ancient ASUS Pundit P1-AH1 media center PC as a backup fileserver running Ubuntu Server 16.04, and I've been having problems getting USB input devices to work after it boots up. While I'm able to use the keyboard in the BIOS, after it boots into the operating system proper, the keyboard stops functioning. I've currently configured it to run headless with ssh. When I use the lsusb command, nothing shows up. It just accepts the command and then goes back to the command line. I am completely stumped! This is the output of lspci. code:
code:
|
# ? Jan 8, 2018 18:06 |
|
Have you tried turning off or turning on Legacy USB in the BIOS? Changed the ACPI setting? Changed the power state settings?
|
# ? Jan 8, 2018 22:42 |
|
I'm at a new place doing Linux admin, which I can cope with okay. The other admin was telling me that their hosting is done on Oracle: lots of CentOS 6 environments etc. I haven't really much clue about Oracle, though. I get VMware/ESXI/vSphere hosting but how does Oracle host Linux boxes in datacenters? Are they just using their own brand of Linux? I don't wanna look like too much of an idiot when we're talking about configuring our VM's.
|
# ? Jan 8, 2018 23:11 |
|
There is a distro called Oracle Linux, which is basically RHEL rebadged and sold by Oracle. It’s possible that is what he meant.
|
# ? Jan 8, 2018 23:15 |
|
CaptainSarcastic posted:Have you tried turning off or turning on Legacy USB in the BIOS? Changed the ACPI setting? Changed the power state settings? I've tried turning off Legacy USB in the BIOS and I've tried ACPI=off and ACPI=force in the grub settings.
|
# ? Jan 8, 2018 23:21 |
|
DrSunshine posted:I've tried turning off Legacy USB in the BIOS and I've tried ACPI=off and ACPI=force in the grub settings. Did you try setting the ACPI suspend to S1 only in the BIOS? From looking at the patches available on the ASUS support site for that machine it seemed like there was a hint of an issue with power management of the USB ports.
|
# ? Jan 8, 2018 23:27 |
|
CaptainSarcastic posted:Did you try setting the ACPI suspend to S1 only in the BIOS? From looking at the patches available on the ASUS support site for that machine it seemed like there was a hint of an issue with power management of the USB ports. Hmm, no I haven't! I'll try doing that and report back, thanks!
|
# ? Jan 8, 2018 23:49 |
|
Mellifluenza posted:I'm at a new place doing Linux admin, which I can cope with okay. The other admin was telling me that their hosting is done on Oracle: lots of CentOS 6 environments etc. I haven't really much clue about Oracle, though. I get VMware/ESXI/vSphere hosting but how does Oracle host Linux boxes in datacenters? Are they just using their own brand of Linux? I don't wanna look like too much of an idiot when we're talking about configuring our VM's. Suspect they means you use this https://cloud.oracle.com/cloud-infrastructure rather than Docjowles posted:There is a distro called Oracle Linux
|
# ? Jan 9, 2018 01:18 |
|
CaptainSarcastic posted:Did you try setting the ACPI suspend to S1 only in the BIOS? From looking at the patches available on the ASUS support site for that machine it seemed like there was a hint of an issue with power management of the USB ports. Okay, I tried this and it seems to have no effect as well. EDIT: Derp. I went into BIOS and set everything to defaults again and somehow it works now?? Computers are weird and mysterious. Thanks anyway! :p DrSunshine fucked around with this message at 07:24 on Jan 9, 2018 |
# ? Jan 9, 2018 07:13 |
|
DrSunshine posted:Okay, I tried this and it seems to have no effect as well. Glad it's working, even if by inscrutable means.
|
# ? Jan 9, 2018 08:21 |
|
jre posted:Suspect they means you use this Yep. We're running multiple databases on Oracle.
|
# ? Jan 9, 2018 22:07 |
|
Hi there. So I'm currently trying to set up a TOR router using a Raspberry Pi. I think I installed TOR correctly but when I check the status of it it shows "active (exited)" in green instead of "active (running)" Did I gently caress something up along the way? What do i need to fix?
|
# ? Jan 10, 2018 21:38 |
BigRed0427 posted:Hi there. So I'm currently trying to set up a TOR router using a Raspberry Pi. I think I installed TOR correctly but when I check the status of it it shows "active (exited)" in green instead of "active (running)" Did I gently caress something up along the way? What do i need to fix? Usually if there's a service I'm trying to run and it's not starting up correctly, I'll try to run the command that starts it in my shell so I can see the output, or check a log file for some indication of why it's bombing out
|
|
# ? Jan 11, 2018 02:21 |
|
Anyone have any ideas on a (all things being relative) "slow" CIFS mount in Ubuntu 17.04/17.10? Situation: Several VMs accessing a separate FreeNAS array via a point-to-point network link of 10GbE. Works great, no problems, a Windows VM can read at 500-600MB/sec and write at 900MB/sec (weird, but whatever). Close-ish to line speed, at least for write. So that kinda eliminates the ESXi portion as far as I'm concerned. The Ubuntu VMs are using an fstab cifs mount with vers=3.02 specified and verified on the FreeNAS side with smbstatus ... that's the protocol level they're connecting at. iperf tests to one of those VMs shows 10GbE speeds. But an actual large file copy never goes above 220MB/sec. I've got these additional parameters set in smb.conf: socket options = TCP_NODELAY SO_RCVBUF=524288 SO_SNDBUF=524288 IPTOS_LOWDELAY But that didn't seem to change anything. Anything else I could look into? I'm just baffled as to why it's 2x faster than gigabit, but no better, and CPU/memory/disk isn't the issue, either. All the Ubuntu VMs behave this way in my setup.
|
# ? Jan 11, 2018 22:35 |
|
insularis posted:Anyone have any ideas on a (all things being relative) "slow" CIFS mount in Ubuntu 17.04/17.10? Isn't SMB known for being slow? Why aren't you using NFS between *nix systems?
|
# ? Jan 12, 2018 15:08 |
|
Keito posted:Isn't SMB known for being slow? Why aren't you using NFS between *nix systems? I also access those shares from Windows boxes, and mixing NFS/SMB operations is bad. SMB 3.x isn't bad at all, usually. Besides, the Windows VM is close enough to line speed, and it's using SMB for access. Edit: For clarity, the FreeNAS share is an SMB share the Ubuntu VMs connect to and add/modify/delete data. Most of the clients are Windows, and also need ACL controlled access to the share. NFS isn't an option for this share. insularis fucked around with this message at 15:38 on Jan 12, 2018 |
# ? Jan 12, 2018 15:27 |
|
For a fresh RHEL environment, where Satellite may not be an option, is there anything else to consider to help manage the deployment, auditing and configuration of patches? Can Spacewalk do this?
|
# ? Jan 12, 2018 19:51 |
|
A yum repo and a yum cron job? That's what we do. But we aren't RHEL subscribers, we use the poor man free version.
|
# ? Jan 12, 2018 19:59 |
|
Spacewalk is the upstream project that Red Hat then packages and sells as Satellite. So yes
|
# ? Jan 12, 2018 19:59 |
|
Wicaeed posted:For a fresh RHEL environment, where Satellite may not be an option, is there anything else to consider to help manage the deployment, auditing and configuration of patches? Katello is upstream satellite 6 take a look at it.
|
# ? Jan 13, 2018 02:42 |
|
This isn't really a Linux question...more of a recommend me a linux software question, but maybe someone knows something that will get me started in the right direction: I've got a couple thousand RSS feeds that I'd like to start archiving the content of into some sort of system with good searching capabilities. I'd really like to write it myself but I don't have the time. If there's some sort of solution that I could hack on or write plugins of some sort that'd be neat. I'd be surprised if there was something made specifically for RSS feeds, so I'm guessing I'll have to write something to fetch the feeds and insert them into whatever system. Can anyone recommend something they've used or at least something they've heard of?
|
# ? Jan 13, 2018 21:30 |
|
Thermopyle posted:This isn't really a Linux question...more of a recommend me a linux software question, but maybe someone knows something that will get me started in the right direction: You could probably set up and elastic search cluster, there's probably and rss application that can grab the content and send it to the elastic search http Port.
|
# ? Jan 14, 2018 02:15 |
|
|
# ? Apr 20, 2024 03:52 |
|
Thermopyle posted:This isn't really a Linux question...more of a recommend me a linux software question, but maybe someone knows something that will get me started in the right direction: Dump them to the filesystem and grep?
|
# ? Jan 14, 2018 09:46 |