User avatar
RDK
Posts: 262
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Wheezy vs Jessie on Pi B+

Sun Jan 29, 2017 11:43 pm

I just created a Jessie build for one of my Raspberry Pi B+'s. The functionality is "identical" between the Wheezy and Jessie setups. Both are running headless and accessed using Putty. The Jessie build seems to be very sluggish, often taking several seconds to respond to an "Up Cursor" key stroke. Have I missed something in creating this build or does Jessie need more "horse-power"? Thanks......RDK

dgordon42
Posts: 764
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Wheezy vs Jessie on Pi B+

Mon Jan 30, 2017 12:54 am

I've got a B running full Wheezy, and a B+ running Jessie Lite. Both run headless over Edimax 7811 WiFi dongles. I don't notice any real difference between them over SSH. I also have a 3B running on the same network. If I've been using this for a while and go back to one of the older models I'll notice the small delay in the response time to commands.

Hope this helps,
Dave.

ejolson
Posts: 3713
Joined: Tue Mar 18, 2014 11:47 am

Re: Wheezy vs Jessie on Pi B+

Mon Jan 30, 2017 3:50 am

RDK wrote:I just created a Jessie build for one of my Raspberry Pi B+'s. The functionality is "identical" between the Wheezy and Jessie setups. Both are running headless and accessed using Putty. The Jessie build seems to be very sluggish, often taking several seconds to respond to an "Up Cursor" key stroke. Have I missed something in creating this build or does Jessie need more "horse-power"? Thanks......RDK
Sounds like a networking problem. Is it possible you have two machines assigned to the same IP number?

User avatar
RDK
Posts: 262
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: Wheezy vs Jessie on Pi B+

Mon Jan 30, 2017 2:39 pm

Thanks for the replies. I don't think it is a network issue as I have seen it on two different networks. Is it possible I have something in the network not configured correctly for this Jessie setup. The "interfaces" files are the same for both the Jessie and Wheezy setups....RDK

DirkS
Posts: 9968
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Wheezy vs Jessie on Pi B+

Mon Jan 30, 2017 4:09 pm

RDK wrote:The "interfaces" files are the same for both the Jessie and Wheezy setups....RDK
Default wheezy and default Jessie versions should actually not be the same. Jessie uses dhcpcd and that required some changes to /etc/network/interfaces (compared to wheezy)
You could end up with multiple IP addresses on Jessie.

Can you post your /etc/network/interfaces and /etc/dhcpcd.conf of the Jessie install

User avatar
RDK
Posts: 262
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: Wheezy vs Jessie on Pi B+

Tue Jan 31, 2017 2:14 am

Hello DirkS. As far as I know the /etc/dhcpcd.conf has never been touched. Below you will find the files you requested.
Network/Interfaces:
====================
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo br0

iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual

#iface br0 inet dhcp
iface br0 inet static
address 192.168.0.240
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4
bridge_ports eth0 eth1

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
========================================
/etc/dhcpcd.conf
================
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
#duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
# Some interface drivers reset when changing the MTU so disabled by default.
#option interface_mtu

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private

# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
Thanks for you help.....RDK

User avatar
rpdom
Posts: 15417
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Wheezy vs Jessie on Pi B+

Tue Jan 31, 2017 7:13 am

RDK wrote:As far as I know the /etc/dhcpcd.conf has never been touched.
Well, there's your problem.

In Raspbian Jessie, static IP addresses are defined in /etc/dhcpcd.conf, not /etc/network/interfaces (unless you remove some packages and install others).

The "# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'" is supposed to be a bit of a clue, as are the hundreds of postings on these fora about it.

User avatar
RDK
Posts: 262
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: Wheezy vs Jessie on Pi B+

Tue Jan 31, 2017 1:44 pm

Thanks. As you can see from the "Interfaces" file, my setup is to have this Pi (Jessie) running like my other Pi (Wheezy) as a bridge so I can capture selected internet traffic passing through it. I seems to be working just fine on both Pi's.

But, I'm willing to learn and apply! I just scrolled through the man dhcpcd.conf and am more confused than ever. It seems to be talking about DHCP functions??? Anyway, can you please explain or point me to an explanation for a "bridge" setup on Jessie like I have on Wheezy.

While most of the time I only have it configured with wired internet connections, I have on occasion also configured it with a Wi-Fi dongle. Do I need to add something for that?

And finally, being a beginner, I just copied my "interfaces" file from Wheezy to Jessie. Is there a better way to create the "Interfaces" and "dhcpcd.conf" files?

Thanks...RDK

Return to “Beginners”