Debian Configuration :: Lenny Cannot Survive Reboot
May 9, 2010If I reboot my machine, the interface is down. How do I set the interface so it will start after I rebooted the machine?How do I do it in Debian?
View 3 RepliesIf I reboot my machine, the interface is down. How do I set the interface so it will start after I rebooted the machine?How do I do it in Debian?
View 3 RepliesI installed CentOS 5.5. After install, I decided to put 3 identical disk for raid 5. All the disks are IDE disk. Then I put a sata disk and partitioned it to add another partition to the raid 5 array. Everything works fine until I rebooted my system. After reboot, the sata partition I added into raid 5 is showing removed. I had to readd it using "mdadm --add" to make raid 5 array works.
View 5 Replies View RelatedThis is a new 9.10 installation. Screen resolution by default is 800x600. I've installed the 1.85 nvidia driver, which correctly identifies my monitor as a Samsung 931b (or whatever). Nvidia's gui suggests a 1280x1024, which is just what I want. When I try to save the changes to xorg.conf, I get a variety of errors, including (but not limited to) "...error parsing xorg.conf..". I've chmod 'ed the X11 directory, and the xorg.conf* files in it to 777, I end up with 1280x1024 until a reboot, after which I get 800x600 again (arrgg!).
Judging from the number of people posting here and in other places, this is common. Seems there would be a solution that works. Any suggestions?
Here is the current content of my xorg.conf file:
ebaxter@ebaxter-desktop:/etc/X11$ cat xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Fri Aug 14 17:54:58 PDT 2009
[Code]....
I am trying to follow the info on Getting IPTables to survive a reboot. Everything works until I reboot but the script does not run when linux starts. The article says to create a script so ifupdown loads these rules on boot:
Code:
echo "#!/bin/sh" > /etc/network/if-up.d/iptables
echo "iptables-restore < /etc/firewall.conf" >> /etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables it put what I think is a symlink in if-upd but iptables still does not survive reboot.
I have successfully managed to connect a Razer Orochi bluetooth mouse with no issues. This also connects automatically when i start up the machine.
I also have a Logitech MX5000 keyboard that i can connect but it never survives the reboot. I have to manually connect it each time.
The only difference i can see between the two is the keyboard asks for a passkey whereas the mouse doesnt.
Ubuntu 11.04 32bit.
I'm configuring an HP Mini 110 (wireless BCM4313) to use it as a small Access Point (ad-hoc mode).
I want to make my configuration reboot friendly. With what I have right now, as soon as I reboot the laptop, the wireless interface configuration isn't correctly setup. I have to do "ifdown eth1; ifup eth1" manually.
Here is what I have in /etc/network/interfaces for the wireless interface code...
So the question is how can I avoid having to bring down and up the interface?
Most of the time I rebooting, my resolv.conf is getting updated by resolvconf program, so the network connection cannot be reached. I followed this: Debian User Forums - View topic - Solving DNS problem (dhclient & resolv.conf)
View 7 Replies View RelatedI am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>
[Code]...
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies View RelatedI have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).
lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-
1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)
I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-
ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
i am trying to get a pxe server working on a debian so other clients can boot off it. the problem has two parts.
1. getting the pxe working. so far the tftp part doesnt work. the client says tftp error. so i guess the dhcp portion is working, but theres something wrong with the /var/lib/tftpboot or the deamon config itself.
2. the other issue is that in the shop many system's have non-working disk drives. also many of them do not have a usb boot option in the bios. all i need to do is get the "bare" kernel file or grub(?) to boot over pxe and give me the ability to boot from a usb flash drive and load the rest of the linux files from there. my primary intention is NOT netinstall. although it wouldnt hurt. my intention is running a linux live usb on systems without bios usb boot support. ive read somewhere that a full pxe live boot requires nfs setup. i am asking for that, just so i can boot from a flash drive.
I have a lenny box:
Linux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux
In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports.
But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it.
First I get this error:
I have not resumed the machine so I have no idea what is going on. So I press ENTER:
I managed to break my video4linux module rendering all my video devices useless, can anyone tell me how to reinstall it as per the the one on Lenny. I'm looking for the original one and not v4l2.
2.6.26-2-686 I have a presentation to do tonight and need it working for that.
i use a telekom s100 set-top-box, which originally had a prism54 wlan-card. but wlan was very slow. but the driver was working well and it did not seem to be a configuration issue, so i assumed that its that card which is so slow. following i purchased a atheros based wlan-card which is working perfectly well with the ath5k driver of my linux kernel (2.6.26-1-686). but the connection is pretty bad anyway. i get max 300kb/s from pc to pc. as its the same with 3 different cards i tested in the s100 i assume it is a configuration issue? or might there be chipset or mini-pci-slot limitation?
when i check the connection with iwconfig the bitrate is somewhere between 1-54mb/s, rising to 54mb/s and then falls back to 1mb/s, rising to 54mb/s again, falling down, its an infinite loop. im using wpa_supplicant for the connection, but i don't think thats the malefactor. well, you never know .. i tried to set the bitrate with iwconfig wlan0 rate 54M but that ended in a disconnection ...
[Code].....
Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.
View 6 Replies View RelatedI have problem with installing Deluge. I did not find any manual how to install Deluge. And I wanna install deluge newest version, and that is on Debian testing packages. So how can I install Deluge from debian testing packages. I read a little bit Deluge forum and there I see, there is lot of problems with Deluge on Debian Lenny. And all I need is use Deluge from web interfaces, thats all. How could I set it up?
View 6 Replies View RelatedI've been trying to configure Postgresql in Debian for some time now, in order to install a ERP program in my computer, but when trying to follow the tutorial for the program configuration I end up stalled. Basically its says this:
1) under su, start by finding the postgresql.conf file (it points the location of the file in /var/lib/postgres/data, but it isn't there) and find the line saying 'tcpip_socket' and changing it to "true"
After a little search and help, I found this file in /etc/postgresql/<version>/main/ but the mentioned line is absent, locate it or tell me where to add it in the file? I've read the file front to back and I'm pretty sure the line isn't there.This is, according to the tutorial, to enable the server to connect to a Java program through the JDBC.
2) after editing postgresql.conf, edit pg_hba.conf and add the following line to the end of the file: host all all 127.0.0.1 255.255.255.255 trust
I get stuck after this, because I'm now supposed to restart the server by using '/etc/init.d/postgresql restart', but bash replies that the path is invalid. The program I'm trying to install is hosted here: [URL]. It's a portuguese ERP program.
Why is my Xen server (An up-to-date Lenny box) making Xen DomUs as Etch boxes? I run a command such as:
[Code]...
This is 100% replicable. I certainly never asked it to create an Etch VM! I cannot find anything in the docs to change this. And for the record, I did let it finish creating it, and it most definitely made an Etch box.
I've got Lenny installed with the desktop environment included. Remote desktop has been activated and I can see Lenny's desktop on a second computer using VNC. When I disconnect the monitor from the first PC which is running on Lenny and start that one up it won't boot all the way and I cannot connect through VNC (connection refused).
Etch has no problem with that. When I connect a monitor to the stalling Lenny I read: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?
What can I do to establish a full boot on Lenny so I can use VNC the way Etch (and other distros) allows me to? This has something to do with the autodetect system, I suppose. Could I tell X Server to ignore the fact no monitor is connected or could I fool X Server into believing there is a monitor?
I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.
1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?
however I am not looking to dist-upgrade, I merely want one package from Sid on my Lenny server. Namely, mantis (version 1.1.8 is in sid, 1.1.6 in main/stable)
View 2 Replies View RelatedI've been trying to install MySQL in Lenny via source binaries, following the instructions given on the MySQL official website[url]
But when i try to run the scripts/mysql_install_db --user=mysql command, doesn't work.
For the record, i'm particularly interested on installing MySQL with the generic source binaries.
I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.
View 14 Replies View RelatedI'm using Debian Lenny, the only problem that I have is that the sound card isn't recognize by the system, I have installed ALSA 1.0.20 and I followed several tutorials trying to enable my sound card (ATI tech Azalia (Intel HDA)but all tries fail.
So, after install another distro -debian based- in the same pc I figured out that the sound card is enable and running by default, the ALSA version is the same -1.0.20- but the kernel is different -2.6.31.xx- so my questions are:
1. do you recommend me to upgrade my lenny's kernel to fix the problem?
2. is there a way to upgrade specific packages -for example samba, alsa, kernel- using unstable or testing versions instead of upgrade the entire distro? actually I'm confortable with lenny
3. what configuration should I check in the "other" distro to use that parameters in lenny?
I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:
wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gawk... (cached) mawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
wlff@debian:~/My_Apps/mpg321-0.2.12-1$
I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?
Howto disable IPV6 in Lenny?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?
View 14 Replies View RelatedBasically, I have no trouble booting off a really old kernel like 2.6.18-6. If I try to boot off the newest one installed with Lenny, I get errors such as "mounting /dev/ on /root/dev failed...ditto for /sys on /root/sys" almost as if it's failing to find the drive. This finishes up with "target filesystem doesn't have /sbin/init" and I'm dropped into a busybox shell.It's an ordinary SATA drive, which is being used as an OS drive only. It seems as if something has changed with the newer kernel, but I have no idea where to start or what to look for.
View 3 Replies View RelatedI'm trying to find good instructions to help me set up a print server with a usb printer on a Lenny box with no GUI. The printer is a Brother HL-2170W. Can anyone point me in the right direction?
View 2 Replies View Related