You are not logged in.
Hello. I'm fairly new to linux in general and decided to take up the challenge and use Arch Linux. I have succeeded in installing the base system but I'm having a problem with getting my wireless network to work (dhcpcd doesn't seem to want to give me an ipv4 address, the ipv6 address just times out) I would like to create a new thread describing the issue in hopes of solving it but I have no idea how I am going to get the output from my arch console on one computer to this browser on a laptop. I'd like to describe my problem as well as possible but I don't really want to sit here and type out the hundreds of lines of output that I have right now. Could you explain to me how I may go about getting this information onto this forum? Thanks for your help.
Last edited by Firephyz (2014-07-19 20:04:47)
Offline
welcome to forums
you can forward output from any command to a file with "command > file"
for example
pacman -Syu > pacman.txt
would print output from 'pacman -Syu' to a file called pacman.txt
then you can cp or mv the file to usb-stick for example.
Offline
Save the output to a file and upload it somewhere https://wiki.archlinux.org/index.php/Pa … in_clients
Offline
You should have a look at `man script` it will log and replay an entire session
Offline
I'm trying to move some of my log files and such to my usb stick. I've mounted the usb to /mnt/usb1 and I should have all permissions ((ls -l /mnt) returns drwx------). When trying to copy the netctl configuration file to this usb with (cp /etc/netctl/my-network /mnt/usb1) I get "cannot create regular file /mnt/usb1/my-network: Permission denied. Can you guys help me with this? Thanks.
Offline
What is the filesystem and ownership on the usb? Are you trying to copy as root or a regular user?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You need to be root. If this is just for the purpose of searching the output for certain things, screen lets you do that.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
I should have all permissions ((ls -l /mnt) returns drwx------)
Those permissions mean only the owner of that directory has rights. Ignoring the d (just means its a directory), the first 3 means read, write, and execute permissions for the owner. The next 3 are blank so the group that owns it gets no permissions. The last 3 are also blank and mean no one else gets any permissions. If the directory is owned by root, you need to use su or sudo to be able to access it.
If that doesn't solve it, another common problem is that NTFS partitions are read-only with the default NTFS driver compiled into the kernel. You need to install the package "ntfs-3g" to get a driver that can write to NTFS. If you don't have internet to install that package, you may just want to reformat your USB stick to another file system (FAT32 is good if you need Windows to be able to use it.)
Offline
Yeah, I was attempting to do it with sudo su on my user. I will just try to reformat the drive. Hopefully this works. Thanks guys.
Offline
Yeah, I was attempting to do it with sudo su on my user. I will just try to reformat the drive. Hopefully this works. Thanks guys.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Yeah, I was attempting to do it with sudo su on my user. I will just try to reformat the drive. Hopefully this works. Thanks guys.
Yea don't run sudo su. Use one or the other. If you want an interactive shell with sudo just do "sudo -i"
Offline