Debian Configuration :: Network Not Active On Boot
Aug 26, 2011
I just did an apt upgrade and for the most part everything is looking good. However when I boot up I have no network connection. Here is the result of trying to ping google: connect: Network is unreachable
I can fix it easily with a simple sudo dhclient eth0 but I was hoping someone would be able to suggest a more correct and less annoying solution. I have uninstalled network manager. This is a desktop computer with an ethernet connection and DHCP. I do not need anything fancy.
I can't seem to get this to work without having to physically create connections as root. The "Available to all users" in the nm settings box remains uncheckable, despite completing the following tasks:
I bought a bluetooth pen, I connect it via USB, my bluetooth connection is active but I can't find other therminals, and my debian machine it isn't visible to other terminals.
It seems that my bluetooth connection works, but it can't pair other terminals. I want to connect bluetooth speaker, but it seems impossible.
My Debian server is used by people to set up ssh-tunnels for use as a local proxy ( on their remote machines).Since only the tunnel is setup, and no shell is used, I can't use "who" to see which users have an active ssh-tunnel on my server, but I would like to have an idea about who is active etc. I think I should be able to determine this from the auth.log file, but then I would have to use some script to determine what connection is still active. Is there an easy way to see what users have active ssh-tunnels on my Debian server at any given moment?
I've been working on building an LTSP server for diskless booting. I have a tftp server that's booting the system. I followed the steps on [URL] .... to build the LTSP server.
I had to make one change from the guide. I have a cisco router that's acting as the DHCP, I'm not very familiar with Cisco IOS so instead of playing with that, I decided to modify the default file on the PXE.
I commented the kernel append line and added the following instead
I'm mounting the nfs as a rw file system for now. I'm planning to make it read only once I have it working the way I want. In addition to this, I also chroot into the LTSP root and installed lightdm + mate. As I understood what I read, this would boot the environment on the diskless system. All of this seem to work correctly.
What I need to do next is to find a way to setup the LTSP clients to log in by authenticating on the active directory. I understand that the login account used by the LTSP client has to exist on the LTSP server.
I have successfully added the LTSP server as a worksation within the windows domain and I can log into domain accounts from the LTSP server but domain credentials do not work when using an LTSP client, I can only log in if I use an account that exists on the LTSP server. I wanted to know if there is a way to accomplish AD authentication.
Do I have to build an LDAP server on the LTSP server, sync accounts with the Active Directory to be able to log in with AD credentials?
I followed these steps to add a client to my active directory domain, everything is working as expected except that when a username has whitespace it creates a directory in /home with whitespace and gconf fail to access his config dir in the user's home. KDE also fails to start but I don't know what's failing yet. I found that the easiest way to fix these issues is to replace whitespaces by underline in homepaths so I changed the pam_mkhomedir source to replace the whitespaces and save it using the usermod command. It should work but is not... the reason is that I can't change the user data using the usermod because domain users are not in /etc/passwd.
A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!
I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)
I was playing with my debian server when something went totally wrong while i was editing something on my network interface,i removed those crap that i wrote and left the network interface configuration as it was
Like for example after re-editing my network interface,it was like :
As i did a network restart, i get this error saying :
There is already a pid file /var/run/dhclient.eth0.pid with pid 2802 killed old client process, removed PID file.
What is this error and how can i fix it,because every time im re booting my server i lost my network config.
I'm planning to use Debian as the OS for a firewall machine, which will sit between my internet connection and the rest of my computers. Now my network is all wired, no wireless whatsoever. I'm using the onboard the motherboards cat5 socket which seems to be using the VIA rhine driver and I'm also using a 3com 100MBps card.
I can list the machine spec if you want but it's nothing special, an old Athlon 64 rig with 1gb ram and an OEM motherboard, it all seems to work ok apart from the internet doesn't' seem to work. Lenny seems to detect both cards ok and I even used the net install CD and it managed to download everything using the 3com card.
The strange thing is when I'm in Lenny, I can't seem to connect. I can ping google, but when I try and view a webpage, the browser just sits there with a while screen... Could it be that using 2 network cards is confusing Debian? Right now I've only got the modem hooked up the the 3com card, and nothing connected to the onboard network card.
I often use an Ethernet cable to connect my computer to another computer for various purposes. But when I do that, I cannot use the internet even though I'm still connected to a WiFi access point. I'm presuming that's because openSUSE is trying to reach the internet through the Ethernet cable, which has precedence over WiFi.Is there a way to enable internet usage via WiFi while I'm connected to another computer over Ethernet?
I am attempting to setup a linux file server in active directory. It has been kind of an ongoing project(nightmare) for me... I have tried a few distributions of linux and I have to say I really enjoy openSUSE. YaST is my best friend. Now to the problem at hand.
I have samba installed and configured for the domain. I was able to successfully join the machine to the domain. I can even log on using domain user names and passwords (more than I was able to accomplish with other distros...). Where I am having a problem currently is I cannot see the suse machine from a windows machine. I can access shares from suse to windows though.
I have just installed Ubuntu (/dev/sda7) and Debian (/dev/sda4), but since I have updated all informations on Ubuntu, then Debian did not appear anymore on the grub list. There is an wiki I have found, but I an not really sure about what to do.
Here are the boot informations: Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020 of the same hard drive for core.img, core.img is at this location on /dev/sda and looks on partition #3 for (,gpt3)/grub.
[Code]...
ps: on this file, it says that the /boot is installed on the MBR and /dev/sda3. I will remove the boot from MBR as I am now using /dev/sda3 instead. Sorry for my english
I have a new install of Debian Squeeze from debian-6.0.0-amd64-kde-CD-1.iso but I'm experiencing problems with the wireless internet applet in the taskbar.When the computer boots, it doesn't connect automatically eventhough I have it set as such. I have to fiddle with it until I get the request from KDE Wallet Manager to insert the password to complete the connection. I didn't have this behavior in Kubuntu.
Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).
Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...
I have successfully connected (and authenticated the user) from linux (Ubuntu) to Active Directory (windows 2003) using "Likewise Open".
1. at the login screen I have to enter "example.localusername" to login. how can I simplify the login so that the user can choose (click)the domain and just enter the username and password (like the login in windows) or make the domain the default.
2. how can I configure the default user profile? meaning, when the user login for the first time, I want to configure his profile. does it use the "/etc/skel" directory like the regular local login?
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
I've illustrated it on this picture, and hope to get the help i need to set it up... [URL]Thow it has to be furture secured, in that meaning it has to be abel to attach a eth2 on the main server, so i have 3 NIC's.Also, i want to have fully controll over ports, IP/MAC's and data overview (Such as a view of the files beeing downloadet/uploadet).
I installed testing on my netbook with cd1. and too my suprise it didn't even include something as important as network manager. all i want to do is connect to my wired internet, install network manager, then install my driver for card. if i can just get wired working i will be homefree. the directions for installing my wire3less driver look super simple.
I have a server and I have a few computers connected to it via a Airport Extreme. Using network cable. So when Im uploading,(ftp) IE using a lot of the network "space" the other computers on the network gets kicked out. So what is going on? My Airport Extreme is doing fine, but my other clients just get kicked out. If I pause the upload, everything is okay again. The whole network is 1 gigabit, clients, everything.
I have a computer home that I use a web server and I had Lenny in it for about a year and didn't experience any problems. Recently I needed to update to Squeeze just to be able and use part of my server for a game(which I couldn't compile on Lenny). I renamed every "lenny" word in the /etc/apt/sources.list with "squeeze" and ran dist-upgrade. Everything seemed fine(minor some "link not found" warnings). I also had some minor problems with the mysql configuration after the update but I managed to fix them all. Then I noticed that after some hours(not sure how many) I can suddenly not reach my computer via ssh. Neither can I visit my website(even from the local network). The computer doesn't appear either in the router's "attached devices" list. My other computers have no problems so it can't be a router issue.Pinging from the server to the outside world doesn't work. I tryied "sudo /etc/init.d/networking restart" and that didn't do anything. The only way to fix the problem is by rebooting but then again after some hours the problem is still there. Do you guys have any idea what the problem can be?
I'm trying to install using windows 7 on a 2010 macbook pro. Firstly the network configuration won't work and secondly the cd rom can't be detected. I've rewritten the usb drive several times with no joy.
Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.
I have just installed Debian Weezy and for some reason it just does not see my router.1) is there a good network config script I can use?if not then what files must be edited to setup the network?When I attempt to ping the router, it does not see it. I have checked the cables etc.
I installed a fresh Debian Desktop without the LAN cable connected. After that I got message when I put the cable in:
Code: Select allNetwork Interface Connection New Wired Connection failed
I have tried to re-install everything once again with the cable in, but during the Debian installation there was no network detected.
However, I proceeded and re-installed Debian. But the problem persists. It continues to re-connect and than disconnect. There is a symbol showing re-connection. The network eth0 is visible to the machine.
I booted Mint Live disc and the same happens there.
A week ago, a new router was installed at the office and now my system "loses" the networks printers and forces me to manually select them within Cups various times a day to be able to print. The issue was not present when the old router was in place, and all my colleagues can print without problems using their Windows machines.
This only affects printing, for Simple Scan can always communicate with the printers without problems.
The printers are two basic Epson L355 (those with ink tanks) and the "official" driver (from Open Printing) has been working perfectly since I installed Debian. The whole Cups and Avahi stack is installed, and I even added system-config-printer this week to make sure that I was not missing a package.
Because the only variable that changed is the router, there has to be something there messing with my Cups or Avahi configuration.
Note that the new router had a "vanilla" installation, where no advanced settings were touched. All connected devices (computers, mobile phones, printers, etc.) are given new IP address through DHCP every day.
Where should I start? I have already deleted and added the printers within Cups several times during the week, and the problem persists. Is the router renewing the address more often than the old one did? Can this "refresh" be delayed? Should Avahi monitor devices more often?
I guess that I could configure the router and give static IP addresses to the printers, but such a setting was not present in the old router and my computer could locate the printers without problems.
It seems that my network manager may be running in root mode...
For instance in network connections, edit and delete are greyed out. if i click add, i am unable to enter any details. if i run nm-connection-editor as root i am able to make changes.
How can i set it that the normal user can make changes? [managed is set to true in the conf file]
My task is to create network namespace, so it can be used to perform some other tasks from it.
Debian 8.2 is used in VMWare virtual machine on windows 7. I have also tried same things with Raspbian on Raspberry Pi 2, but same problems appear.
First, i have followed tutorial https://lwn.net/Articles/580893/ to create pair of virtual ethernet interfaces.
Now i have veth0 in global namespace with ip address 10.1.1.2/24, and veth1 in netns1 namespace with ip address 10.1.1.1/24, and i was able to ping each one from another
Next, i have followed tutorial [URL] ..... to bridge eth0 and veth0, so i can access internet from netns1 namespace.
- First, i have deleted ip addresses for both eth0 and veth0 interfaces, and set them do DOWN state. - New bridge is created (br0) and both interfaces (eth0 and veth0) are added to it. - Then both interfaces are set to UP state, and i run "dhclient br0" to assign ip address to br0.
From global namespace now it is possible to run "ping google.com" (and br0 interface is used), but from netns1 namespace i get error "Network is unreachable".
$ ip addr show Code: Select all  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever     inet6 ::1/128 scope host       valid_lft forever preferred_lft forever  [CODE]....