-

iPhone default ssh password (with cydia)

Posted by Benoit Papillault on Apr 22, 2011 in Linux

If you just jailbreak your iPhone and installed cydia, there is a default ssh server running with the following password : ‘alpine’. To connect, just try (assuming your iPhone IP is 192.168.1.103) :

# ssh root@192.168.1.103
root@192.168.1.103’s password:
iPhone-de-benoit:~ root#

 
-

POSIX standard

Posted by Benoit Papillault on Feb 2, 2011 in Linux

The POSIX-2004 standard is available online at : http://pubs.opengroup.org/onlinepubs/009695399/

In particular, the part regarding shell is here : http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html

 
-

Happy new year 2011!

Posted by Benoit Papillault on Jan 2, 2011 in Linux

Happy new year 2011 to everybody ! and to start this new year, here is a small IPv6 tips to discover all IPv6 machines in a network :

# ping6 ff02::1%eth0

or

# ping6 -I eth0 ff02::1

according to the ping6 version.

This will return IPv6 addresses of all machines connected on the said interfaces. For instance :

64 bytes from fe80::4261:86ff:fe00:5a6: icmp_seq=1 ttl=64 time=0.016 ms

In order to connect to it with ssh, it’s all easy :

$ ssh root@fe80::4261:86ff:fe00:5a6%eth0

 
-

Installing OpenWrt on a Linksys WRT350Nv2

Posted by Benoit Papillault on Mar 10, 2010 in Linux

The WRT350Nv2 Linksys router is a 802.11bgn router (so, operating only in the 2.4GHz band). Its use with the original firmware is impossible since it is nearly impossible to connect using Wi-Fi, even with the use of the latest Linksys firmware (incredible isn’t it?). After installing OpenWrt within few minutes, the Wi-Fi connection has been working right away. Here are the installation steps: Read more…

 
-

Padding and alignment in mac80211

Posted by Benoit Papillault on Nov 28, 2009 in Linux

802.11 hardware adds padding on RX packets and removes padding on TX packets. Morever, mac80211, the generic Linux 802.11 software stack expects some alignments on RX packets. As such, software drivers need to deal with all those constraints to avoid spurious or missing bytes to show up.

Read more…

 
-

Testing ath9k

Posted by Benoit Papillault on Nov 21, 2009 in Linux, WiFi

In order to stay up to date with ath9k linux driver, I decided to test it on a laptop. I have used an AR5418 (MB72) miniPCI card for this test and wireless-testing kernel (v2.6.32-rc7-43014-g505f756). I wanted to use this card in order to monitor 802.11n networks. Here is the result.

Read more…

 
-

GRE Ethernet tunnel and MTU

Posted by Benoit Papillault on Nov 18, 2009 in Linux

After creating a GRE Ethernet tunnel, it seems important to understand how encapsulation affects MTU along with some common pitfalls when using GRE Ethernet tunnel in Linux.
Read more…

 
-

Using GRE Ethernet tunnel

Posted by Benoit Papillault on Nov 2, 2009 in Linux

GRE stands for Generic Routing Encapsulation and it is a standard protocol defined in [RFC2784] and [RFC1701]. So far it has been used mainly for building IPv4 tunnels over IPv4. In this article, we will show you how to use it for building Ethernet tunnels over IPv4 using “Transparent Ethernet Bridging”.
Read more…

Tags:

 
-

Using virtual Ethernet pair device

Posted by Benoit Papillault on Nov 1, 2009 in Linux

I have been wondering what was virtual Ethernet pair Linux driver and how to use it. In fact, the principle is quite simple. As soon as you have created a pair of Ethernet like devices, each packet send at one side is received at the other side. Here is a quick tutorial on using it.
Read more…

 
-

Git repository online

Posted by Benoit Papillault on Oct 21, 2009 in Linux

After using git in order to contribute to the linux kernel for Ralink, Atheros et Zydas drivers, i have finally created a public repository accessible to everybody.
Read more…

Copyright © 2024 Blog de Benoit Papillault ! All rights reserved. Theme by Laptop Geek.