Debian Configuration :: Raspbian On Raspberry Pi Always Get A Invalid IP Address
Jan 7, 2016
I got the Raspberry pi 2 Model B. I flashed my sdcard with raspberian Jessie kernel 4.1 (latest).Also tried wheezy and NOOBS, same behavior.With a ethernet cable (known working), I tried connecting my Pi to my home router, and I got a invalid ip address 169.254.xxx.xxx, and therefore no linkup. I got the same results by connecting my Pi directly to my modem (wired).
I know that /etc/dhcpd.conf is the new /etc/network/interfaces for network configurations.So I tried the debug option, and I noticed that the router doesn't seems to response to the DISCOVER command from the Pi (dhcp v4 protocol).Here's a dump of by /var/log/syslog | grep dhcp
Code: Select allDec 28 12:00:02 raspberrypi systemd: Starting dhcpcd on all interfaces...
Dec 28 12:00:02 raspberrypi dhcpcd: version 6.7.1 starting
Dec 28 12:00:02 raspberrypi dhcpcd: udev: starting
Dec 28 12:00:02 raspberrypi dhcpcd: dev: loaded udev
Dec 28 12:00:02 raspberrypi dhcpcd: eth0: disabling kernel IPv6 RA support
ANd if i use raspbian flesh out of installation, I get this when i run
eth0: probing for an IPv4ALL address
eth0: using IPv4ALL address 220.127.116.11
Seems like my home router TP-link (default setup) doesn't send a response to the dhcp request.
I have a Western Digital 3TB USB drive connected to a Raspberry Pi 2 running Raspbian Jessie. I created an 30GB ext4 system partition and a NTFS Data partition using the remainder of the drive. I formatted the NTFS partition as follows:
sudo mkfs.ntfs -Q -L Data /dev/sda2
The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.
I'm trying to compile a project on my raspberry pi with little success. I typed export DH_VERBOSE=1 and added -v to the gcc options in the Makefile to see what was going on and this is the output. I'm trying to compile hda-jack-retask to get the raspberry pi headphone jack set to be a microphone jack. I want to be able to use the microphone jack as the input to xoscope, an oscilloscope program.
Code: Select allpi@raspberrypi ~/~diwic/+junk/hda-jack-retask $ dpkg-buildpackage dpkg-buildpackage: source package hda-jack-retask dpkg-buildpackage: source version 0.20120113 dpkg-buildpackage: source changed by David Henningsson <email@example.com> dpkg-buildpackage: host architecture armhf dpkg-source --before-build hda-jack-retask
And it sits here for at least 24 hours. Alternatively, It looks like this program is part of the alsa-tools package in Ubuntu, but not in Debian. Need to figure out this freezing issue, should I pull down the Ubuntu source and build a debian package from that?
I just installed Debian Jessie (3.16.0-4-amd64) on a desktop box I intend to use as a server in our home office. During installation I included the web server and SSH server options. I have a user account, 'mitchell' set up in addition to root. Everything is working great except that I am unable to log in via SSH from other machines, such as a Windows desktop also on the office LAN (using PuTTY). From the PuTTY terminal it looks like the user name is accepted because the password is requested, but after entering the password it says "Access denied".
Back on the Debian box in I see:
Code: Select allNov 26 14:12:02 DebianDevP6TSE sshd: Invalid user mitchell from 192.168.1.96 Nov 26 14:12:02 DebianDevP6TSE sshd: input_userauth_request: invalid user mitchell [preauth] Nov 26 14:12:07 DebianDevP6TSE sshd: pam_unix(sshd:auth): check pass; user unknown Nov 26 14:12:07 DebianDevP6TSE sshd: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=rmbiserv.attlocal.net Nov 26 14:12:10 DebianDevP6TSE sshd: Failed password for invalid user mitchell from 192.168.1.96 port 60010 ssh2
So I am guessing I need to set up either the SSHD server, or maybe something in PAM, to authorized users for SSH access?
As a note, "mitchell" is the user name I use to log on to Debian, and I am entering the same user name and password when trying to log in via SSH.
If I try to log in via SSH as "root" I get the following in the log:
Code: Select allNov 26 14:17:01 DebianDevP6TSE CRON: pam_unix(cron:session): session opened for user root by (uid=0) Nov 26 14:17:02 DebianDevP6TSE CRON: pam_unix(cron:session): session closed for user root Nov 26 14:29:59 DebianDevP6TSE sshd: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=rmbiserv.attlocal.net user=root Nov 26 14:30:01 DebianDevP6TSE sshd: Failed password for root from 192.168.1.96 port 60132 ssh2
I am trying to get a Bluetooth microphone/speaker to work with my Raspberry Pi 2, which has the newest version of Raspbian installed. I have connected the bluetooth device with the pi with a bluetooth USB dongle, using bluetoothctl. I changed the default sink to the speaker through pacmd (pulseaudio), and the speaker works.
However, the microphone part is not working. The source list from pacmd shows the microphone (it says that it is a monitor, oddly), and I set the default source to that, but no audio input is received. I tried testing by using
I managed to install LibreOffice. I've only a little experience with Ubuntu and none at all with Debian.
My 1st project is relatively simple. Pro Screenwriting software can be kinda costly, a hundred & change, at least.
With expanding contests, YouTube & the like, writers interest has been growing; and these day most submissions are pdf not paper. (The BBC Writersroom is a fantastic resource, and even allows unsolicited submissions). [URL] ....
Some years ago, Alan Baird got an award from Sun Micro for developing a set of free format templates called Screenwright for Open Office. Including both US & A4, as well as radio, sitcom, theatre and movies; these have now been ported to Libre Office under Creative Commons usage. [URL] ....
I believe these should work well and fairly fast on the new Pi, as most spec scripts are vastly more white space than word count.
There is a minor problem tho, which first came up with 'New Courier' on Windows machines. The 'page per minute' rule is still important enough that the different line/page length spacing of 'Courier-like' fonts is unacceptable in a submission.
The standard Courier font can be had from [URL] ....
That font set is a zip file which should be extracted and then the 3 fonts are to be dragged into the Windows fonts directory.
So how exactly do I do that with Rasperian Wheezy? Do I extract on the Pi or on the windows machine? Are fonts like most documents, readable on any distro, or do they need to be converted somehow?
I can't make a webcam working on an ARM version of Debian (Raspbian for raspberryPI)
I'm trying to use a command line media player to show the webcam images (mplayer)
The command is: mplayer tv:///dev/video0 and I got this output:
Code: Select allPlaying tv:///dev/video0. the filename option must be an integer: dev/video0 Struct tv, field filename parsing error: dev/video0 Tv file format detected. Selected driver v4l2
Note aside: - I've tried 3 different cams(got the same error for all of them) - The output of the command: ls -ltr /dev/video* is crw-rw—-+ 1 root video 81, 0 Nov 11 09:06 /dev/video0 - The cam works in a program like "scratch" in a startx session but doesn't in the command line
I installed squeeze on virtualbox on arch linux.After squeeze is booted up, ifconfig says no ip address is given to eth0.I tried ifdown/up eth0, then an ip address was properly given.Does anyone have the same problem or know how to solve this?The network of virtualbox is set to bridged adapter.The host os has only eth0, no br0 and wiredly connected to a wifi router which has the dhcpd.
My sources list for updates is a bit wonky as in needs the correct uk repositories listed, for Lenny main, could someone point me to where I can find the uk repositories so I can enter then in the software sources option from the menu?
I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.
I installed Debian 5.03 Lenny successfully on my machine. I got this error during boot: ACPI : invalid PBLK length . After that the Operating System boots properly and starts normally. What does this error statement mean? Is it safe to work with this installation despite this error?
Got this while installing the kernel development tools on my Squeeze system being used as a router/firewall. Setting up update-inetd (4.36) ... Setting up cvs (1:1.12.13-12) ... Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Setting up autopoint (0.17-11) ...
Is that an issue that I need to address prior to building the latest kernel (18.104.22.168)?
i have the basic knowledge of networking. a week ago i installed debian Lenny version on an old pentium 3. in addition i installed a ddclient configured it according to many tutorials.i searched google a few days but didnt find my case. i ran the folowing command :
I want to configure multiple virtual ethernet interfaces over a single physical ethernet interface (eth0) and for each virtual interface the MAC address must be unique and the IP address must be Static.Finally all the virtual interfaces must be able to communicate both internally and externally and the traffic should be captured using wireshark.
I need to have such kind of setup to communicate devices individually using one physical ethernet device.
Because I was fiddling with few kernel modules like MACVLAN and MACVTAP and successfully enabled those modules and rebuild kernel. Using macvlan and macvtap I can configure virtual interfaces with unique mac address and static IPs but while capturing packets using wireshark interfaces behave weirdly.
For example say on HOST machine I have 1 physical interface and created 3 virtual interfaces as shown below.
First from above interfaces I started pinging eth0 internally from host machine in which it worked as usually.
Second I did same externally from other machine which is connected to the same network of Host machine, and this did work as usually.
Third I pinged first virtual interface veth0 both internally and externally and this also works and after that I did check source and destination MAC address using wireshark tool-where both showed up there respective MAC address.
Now triggers the issue, where I pinged second virtual interface same like I did for first one, but this time ping was success and where as in wireshark tool the MAC address for veth0 is picked by veth1. This is where I got stuck and this issue happened for all the remaining virtual interfaces.
I couldn't see any virtual interface showing their respective MAC address, as of the remaining except the first virtual interface has been picking the first veth0 mac address.
I have Debian 8.2 with KDE 4.14 and everything runs perfect, except for the internet connection. This problem happens randomly when I turn on my machine. Sometimes when the desktop loads, the connection is already settled.
But sometimes when the desktop loads, the wifi icon is still loading and keeps stuck at "setting network address". Since this problem happens randomly I really don't know what is happening here. My wifi chip is this:
xbmc 9.11 HTPC (confluence skin) on an acer revo 3610 running ubuntu 9.10 can someone possibly help me as I cannot get WOL to work. Went into BIOS under power management and enabled WOL.I have used this guide to set up. HOWTO: Set your system up for Wake On LAN (WOL my ipconfig is
I then tried to follow this guide HOW-TO set up Wake-On-Lan (Ubuntu) and followed those steps also still nothing. I deleted this script however as it did nothing and didnt want to have two scripts that might be interfering with each other.How can I check that the magic packs are being received by the computer? I think it has something to do with the MAC address but Im a linux noob and gettng kinda lost now, ANY help would be much appreciated. I also have a another linux computer hooked up on the network to test however I want to WOL via the internet incase I am traveling and need to wake up my htpc. Can anyone please help me as I think I have the scrips installed and Im just not doing something simple like configuring the magic packs correctly to send the information.
I've just installed a fresh copy of Maverick Meerkat 64bit and I wanted to setup static ip, but unfortunately I can't because of invalid mac address detection during each startup. The message looks like this
Code: dmesg |grep Mac [ 5.988576] forcedeth 0000:00:07.0: Invalid Mac address detected: 0b:68:66:ea:0f:00 [ 5.988590] forcedeth 0000:00:07.0: Please complain to your hardware vendor. Switching to a random MAC I remember having the same problem on suse distro and the solution I found at that time, was to change the /etc/udev/rules.d/70-persistent-net.rules and edit it to look like this
I've lost 6 CD-R's to this error. I have no idea what the hell could be wrong. I do not have a SCSI interface in this unit, but no matter, when ever I try to burn a cd it starts and then spits out this error; "SCSI error on write(16,16): [5 21 02] Invalid address" The log from the first attempt to burn that fails. Just before this I had burned a CD and the only problem was it couldn't eject it at the end.
When I am using Mailutils to send messages to myself as a test, I get them but they are from <"ryandward@ryandward"@gmail.com> which is not a valid email address and I have no idea why my system is configured to send them from this address. This is indicative of some problem there is going on in my system.
Kubuntu's Network manager says that my (wired) network is in an invalid state because I don't have an IP address, but Firefox and Chorme work perfectly, as do Synaptic and Software Centre, and a Superkaramba network monitor says that my IP is "192.168.1.101" In fact, the only thing that isn't working is Pidgin, and it says it's "Waiting for network connection."
I just wanted to checkout samba. So, I installed on a CentOS 5.5 64bit server. The version I used is 3.5.6. I followed this guide. [URL]. LDAP is working good. When I use the following command: (net groupmap list) I am getting the error.
Code: [root@server1 samba]# net groupmap list [2010/10/26 16:26:09.135901, 0] lib/smbldap.c:1151(smbldap_connect_system) failed to bind to server ldap://127.0.0.1 / with dn="cn=root,dc=mtm,dc=testdomain,dc=com" Error: Invalid credentials
[2010/10/26 16:26:39.180063, 0] passdb/pdb_ldap.c:3448(ldapsam_setsamgrent) ldapsam_setsamgrent: LDAP search failed: Time limit exceeded [2010/10/26 16:26:39.180109, 0] passdb/pdb_ldap.c:3523(ldapsam_enum_group_mapping) ldapsam_enum_group_mapping: Unable to open passdb I am sure that I have set the correct password in Code: smbpassword -w mypassword. Also, I can login to the LDAP thourgh PHPLDAPAdmin with the same password and the bind cn.
Here is my smb.conf Code: # Global parameters [global] ldap ssl = off nt acl support = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE workgroup = TESTDOMAIN netbios name = SERVER1 security = user enable privileges = yes #interfaces = 192.168.5.11 #username map = /etc/samba/smbusers server string = Samba Server %v #security = ads encrypt passwords = Yes #min passwd length = 3 #pam password change = no #obey pam restrictions = No
# method 2: unix password sync = yes ldap passwd sync = no passwd program = /usr/sbin/smbldap-passwd -u "%u" passwd chat = "Changing * New password*" %n "*Retype new password*" %n "
log level = 10 syslog = 0 log file = /var/log/samba/log.%U max log size = 50 time server = Yes #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 mangling method = hash2 Dos charset = 850 Unix charset = ISO8859-1
logon script = logon.bat logon drive = H: logon home = logon path = domain logons = Yes domain master = Yes os level = 65 preferred master = Yes wins support = yes passdb backend = ldapsam:ldap://127.0.0.1/ ldap admin dn = cn=root,dc=mtm,dc=testdomain,dc=c om #ldap admin dn = cn=samba,ou=DSA,dc=company,dc=c om ldap suffix = dc=mtm,dc=testdomain,dc=c om ldap group suffix = ou=Groups ldap user suffix = ou=Users ldap machine suffix = ou=Computers #ldap idmap suffix = ou=Idmap add user script = /usr/sbin/smbldap-useradd -m "%u" #ldap delete dn = Yes delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
# printers configuration #printer admin = @"Print Operators" load printers = Yes create mask = 0640 directory mask = 0750 #force create mode = 0640 #force directory mode = 0750 #nt acl support = No printing = cups printcap name = cups deadtime = 10 guest account = nobody map to guest = Bad User dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd show add printer wizard = yes ; to maintain capital letters in shortcuts in any of the profile folders: preserve case = yes short preserve case = yes case sensitive = no
[netlogon] path = /home/netlogon/ browseable = No read only = yes
[profiles] path = /home/profiles read only = no create mask = 0600 directory mask = 0700 browseable = No guest ok = Yes profile acls = yes csc policy = disable # next line is a great way to secure the profiles #force user = %U # next line allows administrator to access all profiles #valid users = %U "Domain Admins"
I installed the citadel suite on ubuntu server 9.10 Email obviously works fine internally. I tried to setup a smart host to send my mail through as my isp(Verizon) obviously blocks port 25. I tried to send out the Verizon smtp server on port 587. In the Administration> Domain names and Internet mail configuration>Smarthosts.My smarthost entry on the citadel configureation page above was firstname.lastname@example.org:587 but after sending an outgoing email, it comes back with a "invalid/host-not-in-DNS return address not allowed"
I have also tried using gmail and a hotmail account with the respective smtp address's in but they come back with "Must issue a STARTTLS command first".I have researched both messages and come up with squat that has helped me.
I know that my mail will have to go out through a smarthost of somekind. So is am I on the right track with choosing verizon/gmail/or something else as my smtp relay, or is there a free service out there that I can send email through(haven't found one if there is)
Anyone else ever setup Citadel and got around their isp blocking port 25?I am also not sold on citadel, it was just the first/ nicest looking one that I found.