• General Linux Chat and Small Questions v.2
    2,323 replies, posted
[QUOTE=TDocter;30539419]After I decided that I didn't want to use Vista anymore on my older PC, I tried Ubuntu for the first time, rather liked it after getting used to it. It's something fresh that I can try out for awhile. Just one question, is there any simple way of running .Run files? Can't find it anywhere for some reason.[/QUOTE] Mark it as executable (right click/properties), then run it through the terminal.
You would preferably want to do this in a terminal since some .run files are CLI only. All you need to do is. [code] cd path/to/directory/with/runfile/ chmod +x yourrunfile.run ./yourrunfile.run [/code]
So-o, deciding that having all my computers generate an entirely new local IP every time the router lost power, I looked into it, and set a static IP for three of my computers. All three are wired by Ethernet to the router, not wireless. [list][*][b]192.168.1.10[/b] is my PC in my room (spc.local) [*][b]192.168.1.30[/b] is the second family PC (fpc2.local) [*][b]192.168.1.100[/b] is my home server (ssv.local)[/list] I looked up on a forum that I could do this by editing /etc/network/interfaces, as such: [code] GNU nano 2.2.6 File: /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1[/code] However, there is another computer, the FIRST family PC, which is connected wirelessly (All other computers are wired by Ethernet). I'd like to set it to [b]192.168.1.20[/b]. Going to its /etc/network/interfaces, there is no auto eth0. In fact, it just stops after the loopback. Do I just add an eth0? Or no, because eth0 is Ethernet and not wireless?
Wireless is a little less straightforward because there's also the matter of which AP to associate with, and the password needed to do so, and /etc/network/interfaces isn't the place for that. You could configure wpa-supplicant by hand, but it'd be better to use NetworkManager instead of /etc/network/interfaces for this. It's the applet that you (should) see in your tray, that gives you a list of wireless networks when you click on it; right-click and pick "edit connections", and you can change the IP settings. Why do you need static IPs though? It's simpler to have everything autoconfigure via DHCP. Most routers let you do "static DHCP", where the router recognizes a machine by its MAC address and always assigns it the same IP, which basically gives you static IPs without having to configure them individually on each machine. And if you install [url=http://support.apple.com/kb/dl999]Bonjour[/url] for Windows, or Avahi (which is probably already installed) on Linux systems, you can refer to other machines by "<machinename>.local" and not even have to care what the IP is.
Ok, well in the meantime I had a minor crisis involving Grub not working, but that's settled. Now, using Network Manager like you said, I have all four IPs set up. Thanks! Regarding [i]why[/i], I will tell you that my router is an ancient Belkin home-use piece of shit, maybe 8 years old. I don't think it'll support static DHCP, and I can't check at the moment because it's erroring up about a nonexistant other administrator. Dammit. When it works with virtual servers and port forwarding, it only works by local IP address, so every time the power went out it was changed, and I had to change effing everything. Now, everything is so nice and neat, hostnames and everything! Speaking of hostnames, I did know that you could use hostname.local, but that didn't work with Windows for me, but I said who gives a shit anyhow, I never use it. But now I can look into Bonjour!
Windows doesn't do .local by default; Bonjour adds support for it. (Apple calls it "Bonjour Print Services" these days, but it does more than provide access to printers; it's an implementation of [url=http://en.wikipedia.org/wiki/Zero_configuration_networking#Apple.27s_protocol:_Multicast_DNS.2FDNS-SD]mDNS[/url].)
I got the most wonderful transparent PNG desktop background. I'm wondering if there is a way to slowly or randomly change the color behind the desktop background in Ubuntu. Some other time. I REALLY need to go to bed, I've been saying that for 7 hours now.
[QUOTE=Elecbullet;30559644]I got the most wonderful transparent PNG desktop background. I'm wondering if there is a way to slowly or randomly change the color behind the desktop background in Ubuntu. Some other time. I REALLY need to go to bed, I've been saying that for 7 hours now.[/QUOTE] There's a script someplace (on the net) that'll enable the backgrounds to very very slowly fade into different colors, depending on the time of the day. It's not f.lux, and worked with backgrounds in Ubuntu only, but I can't remember it..
Hi, newbie here. I have a small useless webserver running and I wanna update the html files, so I ftp in and try uploading. NOPE permission denied. Can't overwrite existing files either. How do I configure it to work?
Does anyone play Minecraft or any other OpenGL game with a compositor running? For me, it works perfectly fine until I start alt tabbing between the game and like, Chrome. After a while, it slows down extremely and alt tabbing between Chrome and Minecraft takes a good 15-30 seconds. Then I get massive desktop corruption, screen flashes, and eventually x.org freezes up. Anyone else have that issue/a resolution?
[QUOTE=Prefan;30562333]Does anyone play Minecraft or any other OpenGL game with a compositor running? For me, it works perfectly fine until I start alt tabbing between the game and like, Chrome. After a while, it slows down extremely and alt tabbing between Chrome and Minecraft takes a good 15-30 seconds. Then I get massive desktop corruption, screen flashes, and eventually x.org freezes up. Anyone else have that issue/a resolution?[/QUOTE] Running Cairo Composite Manager, can't say I've had that problem.
Does anyone have any experience in using Samba4 (the alpha version) to host an Active Directory domain controller on Linux?
[QUOTE=chipset;30561837]Hi, newbie here. I have a small useless webserver running and I wanna update the html files, so I ftp in and try uploading. NOPE permission denied. Can't overwrite existing files either. How do I configure it to work?[/QUOTE] If you have a Website, go to your profile and have it show up next to your name! However I'm no expert on FTP to be honest. I don't use it when updating my Website, I just use a short shell script I wrote that uses wget (HTTP download from command line) to update my server from my home computer.
I use SSH to put files on my server. Scp for one off stuff, and rsync for websites.
Quick question: Should I use Windows partitioner or Ubuntu installer partitioner to partition?
[QUOTE=PvtCupcakes;30589164]I use SSH to put files on my server. Scp for one off stuff, and rsync for websites.[/QUOTE] TBH I use wget. I have a tiny, tiny shell script on my server and another on my home PC that zips up the ENTIRE website on my development site on my home computer, places it within the webroot directory, and then SSHes into the server and activates ITS shell script. The server shell script downloads the archive, then unzips, moves into place. I didn't know about rsync up until now. Huh. I'll have to look into it [editline]20th June 2011[/editline] [QUOTE=toaster468;30589173]Quick question: Should I use Windows partitioner or Ubuntu installer partitioner to partition?[/QUOTE] Ubuntu installer partition will do everything fine. It has more features than the Windows partitioner, due to support for MANY more filesystem types (ext2, ext3, ext4, xfs, jfs, reiserfs...)
[QUOTE=Elecbullet;30594098]TBH I use wget. I have a tiny, tiny shell script on my server and another on my home PC that zips up the ENTIRE website on my development site on my home computer, places it within the webroot directory, and then SSHes into the server and activates ITS shell script. The server shell script downloads the archive, then unzips, moves into place. I didn't know about rsync up until now. Huh. I'll have to look into it [/QUOTE] The server downloads from your home computer? That wouldn't work for me because I have a dynamic IP at home. Well it would work, but I'd have to change the IP in the script once in a while, and I can't be arsed to do that. I can't be arsed to use DynDNS either. You don't necessarily have to use rsync, but you could use scp to transfer the zip file. [code] scp local.zip remoteserver.com:/home/user [/code] It's just like cp over SSH.
[QUOTE=Elecbullet;30594098]TBH I use wget. I have a tiny, tiny shell script on my server and another on my home PC that zips up the ENTIRE website on my development site on my home computer, places it within the webroot directory, and then SSHes into the server and activates ITS shell script. The server shell script downloads the archive, then unzips, moves into place.[/QUOTE] Are you deleting the system after the transfer? Because I'm seriously tempted to look around a bit on your website.
[QUOTE=PvtCupcakes;30601195]The server downloads from your home computer? That wouldn't work for me because I have a dynamic IP at home. Well it would work, but I'd have to change the IP in the script once in a while, and I can't be arsed to do that. I can't be arsed to use DynDNS either. You don't necessarily have to use rsync, but you could use scp to transfer the zip file. [code] scp local.zip remoteserver.com:/home/user [/code] It's just like cp over SSH.[/QUOTE] [code]#!/bin/sh cd ~/website rm -r * wget http://spc.local/ws.7z p7zip -d ws.7z cd /var/www rm -r /var/www/* cp -r ~/website/* ./ rm -r ~/website/*[/code] There is the portion of the shell script on my server. The reason I do it like this is so that I can execute one command from my home computer, and enter a single password (to ssh into my server to execute the server's shell script), and it's all done. One command that asks for one password. Plus it clears the directory before updating the files, which is nice. Note that my server is here at home with me. I don't do anything serious with it so whatever. Link to my totally non-serious website is on the left. Also, regarding dynamic IPs: I THINK I'm supposed to have a dynamic IP. But for as long as I can remember, it's bee 70.94.237.175. So maybe I DO have a static IP. It's never changed.
I want to recreate this: [quote=Him]From the other side of the colour spectrum. [url=http://ompldr.org/vOHZ1aQ]http://ompldr.org/tOHZ1aQ[/url] [url=http://ompldr.org/vOHZ1ag]http://ompldr.org/tOHZ1ag[/url] @demian Earlier on, you asked for the themes, here they are. Wallpapers and .Xdefaults are included with all. [url=http://ompldr.org/vOHZ2Mw]Gray Circles[/url], [url=http://ompldr.org/vOHZ2NA]Gray Fractal[/url], and [url=http://ompldr.org/vOHZ2NQ]Muted Dream Tree[/url] (irssi theme included).[/quote] But I [i]just[/i] installed awesome, how would I go about doing that, and what are the music player and irc called in the first image?
[QUOTE=Gaza Pen Pal;30612644]But I [i]just[/i] installed awesome, how would I go about doing that, and what are the music player and irc called in the first image?[/QUOTE] Probably Music Player Daemon (mpd) and irssi
[QUOTE=Prefan;30562333]Does anyone play Minecraft or any other OpenGL game with a compositor running? For me, it works perfectly fine until I start alt tabbing between the game and like, Chrome. After a while, it slows down extremely and alt tabbing between Chrome and Minecraft takes a good 15-30 seconds. Then I get massive desktop corruption, screen flashes, and eventually x.org freezes up. Anyone else have that issue/a resolution?[/QUOTE]I can't hibernate or suspend or that EXACTLY happens. System is slow for maybe 10 seconds, and corrupted screen shit and then it all freezes.
Trying to compile a linux 3.0 kernel for my ubuntu system, but how do i make an initrd img file? google's been giving me answers that worked in 2006, but not anymore.
mkinitrd initrd.img 3.0 Something like that.
[QUOTE=macerator;30636967]Trying to compile a linux 3.0 kernel for my ubuntu system, but how do i make an initrd img file? google's been giving me answers that worked in 2006, but not anymore.[/QUOTE] Shouldn't you be using initramfs instead of initrd? Try searching for that instead, I think that's what you really want.
Wee, updating my Crunchbang install on my laptop to a rolling release based on Debian experimental :v: Fuck yeah, bleeding edge packages.
I did the same thing, installed crunchbang, and switched to Wheezy repos. Been running it for about a month now, and so far it's been smooth sailing
mkinitrd hasn't been in ubuntu since, dapper drake. mkinitramfs hasn't given me a file that I can boot.
I chose to do squeeze backports over updating to rolling-release for CrunchBang. I get the new packages I want and the (nearly) guaranteed security and stability I like. :c00lbert: By the way, let's do a count. Vote "friendly" if you also have CrunchBang.
[QUOTE=macerator;30651838]mkinitrd hasn't been in ubuntu since, dapper drake. mkinitramfs hasn't given me a file that I can boot.[/QUOTE] Fedora 15 has mkinitrd, even if it is just a compatibility layer for Dracut. So whatever. :v: [editline]23rd June 2011[/editline] I don't think Ubuntu uses Dracut, but I don't know maybe they do.
Sorry, you need to Log In to post a reply to this thread.