MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 12:00 pm

marciokoko wrote:Well something must be wrong because it just doesnt connect. I added your corrections to the wpa_supplicant.conf and it still wont connect. Do I need to remove that ether thing I put into the cmdline or config file?
To configure the wifi you should only need to edit file /etc/wpa_supplicant/wpa-supplicant.conf. If you have made any changes to other files then put the files back to how they were before you edited them.

There is a very simple way to set up the wifi on a Pi 0 if you use one of the new Raspbian images. After creating the SD card and booting the Pi 0 this will also allow you to connect to the Pi 0 using SSH to enable you to make any other changes to the set up if you need to.

Format the SD card and then copy the latest Raspbian image to the card. I use image 2017-04-10-raspbian-jessie-lite. I do this on a Windows 7 laptop using SDFormatter and Win32DiskImager. I have a copy of two files wpa_supplicant.conf and ssh on my Windows 7 laptop. The ssh is blank but you can also use a file name ssh.txt which is easier to make on a Windows system. The contents of the ssh/ssh.txt files is ignored. I then copy these two files to the boot partition on the SD card while it is still plugged in to my Windows 7 laptop. I then safely remove the SD card from my laptop.

The wpa_supplicant.conf is used to configure the wifi and the ssh/ssh.txt file is used to enable ssh which is now disabled by default as a security measure.

Now plug the SD card in to the Pi 0 and boot the Pi 0 with the wifi adapter connected to the Pi. The file wpa_supplicant.conf will be moved from the boot partition to /etc/wpa_supplicant/wpa_supplicant.conf to configure the wifi and file ssh/ssh.txt will make the Pi set up to allow connecting to the Pi using SSH. The two files will then be removed from the SD card /boot directory.

The set up can take a few minutes. Then check your router to see if the Pi is connected and get the IP address of the Pi so you can connect to it using SSH.

I have tested this using WEP using the format of the wpa_supplicant.conf file set up for WEP as in my earlier post and it works OK for me.

There is info somewhere on the Raspberry Pi web site about this but I haven't been able to find it.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 12:37 pm

I followed this link and added the mods for the cmdline.txt and config.txt files.

https://www.thepolyglotdeveloper.com/20 ... cable-ssh/

But these changes were to make the pi ssh-available.

drgeoff
Posts: 8192
Joined: Wed Jan 25, 2012 6:39 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 1:07 pm

marciokoko wrote:I followed this link and added the mods for the cmdline.txt and config.txt files.

https://www.thepolyglotdeveloper.com/20 ... cable-ssh/

But these changes were to make the pi ssh-available.
The only thing you need to do to enable ssh is to have a file (any content, even an empty file) named ssh or ssh.txt in the boot partition.

For the Wi-Fi, see https://www.raspberrypi.org/documentati ... ess-cli.md but if you are still using WEP remember that it is slightly different. See the link on that page.

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 3:09 pm

marciokoko wrote:I followed this link and added the mods for the cmdline.txt and config.txt files.

https://www.thepolyglotdeveloper.com/20 ... cable-ssh/

But these changes were to make the pi ssh-available.
I not seen this info before so whether it will have any effect with the wifi I don't know.

One thing that could cause a problem. How do you connect your wifi to the Pi 0? You need to use an OTG USB cable or the Pi 0 USB will only operate as a client interface, not a host interface that it needs to be to be able to connect to the wifi module.

I would suggest you start again and make a new SD card using the Raspbian image and then on the system you write the image to the card make the ssh and wpa_supplicant.conf files as I suggested in my earlier post and copy those files to the SD card.

The wpa_supplicant.conf file I use is like

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
       ssid="Network-name"
       wep_key0=WEP-Hex -key
       key_mgmt=NONE
       auth_alg=OPEN
}

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 3:28 pm

ok i removed those two entries (the one from the cmdline.txt and the one from config.txt. It still doesnt work, the pi0 doesnt not show up on my wifi network. So Im moving on to download the raspbian jessie 2017-10 release, Ill flash it with, what do you recommend, SDFormatter or Pi Baker or some other?

Im kind of skeptical because if it hasnt worked with the image I have, which supposedly brings the drivers for the tl-wn725nv2, then im not sure why it would work with a later kernel version which should bring the same latest driver for tl-wn725n that I already have.

If it fails then Ill have to do what I havent wanted to do, which is bring down my rpi2 which is in operation/production, running my house chores, and config the tplink on my pi0 sdcard that way.

Plus it bugs me that it doesnt work, when it is supposed to work!

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 3:31 pm

I am using the usb otg cable that comes with the pi0 to connect the tplink wifi adapter after Ive made the wpa_supplicant.conf file, since the pi0 only has the one microUSB port (apart from the power one)

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat May 20, 2017 4:36 pm

marciokoko wrote:ok i removed those two entries (the one from the cmdline.txt and the one from config.txt. It still doesnt work, the pi0 doesnt not show up on my wifi network. So Im moving on to download the raspbian jessie 2017-10 release, Ill flash it with, what do you recommend, SDFormatter or Pi Baker or some other?

Im kind of skeptical because if it hasnt worked with the image I have, which supposedly brings the drivers for the tl-wn725nv2, then im not sure why it would work with a later kernel version which should bring the same latest driver for tl-wn725n that I already have.

If it fails then Ill have to do what I havent wanted to do, which is bring down my rpi2 which is in operation/production, running my house chores, and config the tplink on my pi0 sdcard that way.

Plus it bugs me that it doesnt work, when it is supposed to work!
I use SDFormatter to format my SD cards. Just don't forget to select Option Format Size Adjustment ON. I use Win32DiskImager to write the images to the SD cards.

I have WN725N V2 running on a Pi B+, 2B and a Pi 0. Just to test things out I created a new SD card using the set up in my earlier post and plugged it in to my Pi 0 and it came up OK with the wifi set up and SSH enabled without needing to do anything else.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Tue May 23, 2017 11:01 pm

ok Im about to format it on my macbook air. I wanted to format it using disk utility but the sd card shows up with 2 partitions (boot, recovery) and I dont know how to format it.

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Tue May 23, 2017 11:35 pm

marciokoko wrote:ok Im about to format it on my macbook air. I wanted to format it using disk utility but the sd card shows up with 2 partitions (boot, recovery) and I dont know how to format it.
I have no idea about using a MAC, I use a Windows laptop. I would expect you may need to delete the partitions to allow you to format the complete SD card. Just a thought. Then format using MS-DOS(FAT32).



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 12:05 am

i got this on boot :(

here:[img]
IMG_2584.jpg
IMG_2584.jpg (32.45 KiB) Viewed 2277 times
[/img]
Last edited by marciokoko on Wed May 24, 2017 12:39 am, edited 1 time in total.

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 12:22 am

marciokoko wrote:i got this on boot :(
IMG_2584.jpg
All I see is the text IMG_2584.jpg so what do you actually see?



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 12:51 am

Ext4-fs error loading journal
Kernel panic
not syncing vfs unable to mount root fs on unknown block...

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 1:23 am

marciokoko wrote:Ext4-fs error loading journal
Kernel panic
not syncing vfs unable to mount root fs on unknown block...
OK I can see your attachment now. I've seen this myself before. I've fixed it by re-formatting the SD card, with SDFormatter using Option FULL(Overwrite), and then re-writing the kernel image to the SD card.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 8:12 pm

I just formatted the sdcard using sdcardformatter for mac, then burnt the image using applepibaker and I got this error:
[img]
2ndtry.jpg
2ndtry.jpg (32.78 KiB) Viewed 2179 times
[/img]

The weird thing is that it looks identical to the previous error.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 8:36 pm

i ran fsck on it:
Marcios-MacBook-Air-2:~ quique123$ sudo fsck_hfs -fy /dev/disk2
Password:
** /dev/rdisk2 (NO WRITE)
Executing fsck_hfs (version hfs-366.50.19).
volumeType is 0
0000: 0000 0000 0000 0000 0000 0000 0000 0000 |................|
. . .
01b0: 0000 0000 0000 0000 574a 2e40 0000 0082 |........WJ......|
01c0: 0300 0cbb 3605 0020 0000 0048 0100 00bb |....6......H....|
01d0: 3705 83f3 ab08 0068 0100 004c 7e00 0000 |7......h...L....|
01e0: 0000 0000 0000 0000 0000 0000 0000 0000 |................|
01f0: 0000 0000 0000 0000 0000 0000 0000 55aa |..............U.|
Marcios-MacBook-Air-2:~ quique123$

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 10:36 pm

Looks like it has not been formatted correctly.

I have seen the type of error you are seeing a very few times e.g. - unknown block (179.2) - and fixed it by re-formatting and re-writing the image.

When you formatted with SDFormatter did you use Option = Format Size Adjustment ON and Option = Format Type FULL(overwrite)?



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 10:51 pm

This is what I get in the SD window:
[img]
The attachment Screen-Shot-2017-05-24-at-4.43.15-PM.jpg is no longer available
[/img]

and this:
[img]
Screen-Shot-2017-05-24-at-4.43.15-PM.jpg
Screen-Shot-2017-05-24-at-4.43.15-PM.jpg (27.45 KiB) Viewed 2143 times
[/img]

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed May 24, 2017 11:20 pm

I tried with the Full Overwrite and with that logical compatibility thingie as well. It didnt work. I also tried a super secure data format from Mac Disk Utility and I still get the same error. What is that 4.4.5#970 kernel it mentions, the new one 2017 or the old one that came with my pi0?

And also what is that NOOBs option down below? Do I need to do anything with that? This is a screenshot from a new 16gb sdcard Im about to try.
[img]
noobs.jpg
noobs.jpg (27.18 KiB) Viewed 2130 times
[/img]

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 12:19 am

NOOBS is an image installer that works on the Pi and will allow you to install a variety of different images. Look at the raspberry Pi web site for info. You don't need to use that.

The 4.4.50+ #970 image is the same on the 2017-04-10 image as you had on your original Pi SD Card.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 12:21 am

So it hasnt managed to format the sdcard correctly huh?

Ok so ill just try with the new 16gb sd card

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 12:32 am

OK something is wrong.

Same error on the new card. There must be something wrong with the downloaded file?

im trying the shashum but it doesnt come up as its says it should in the raspberry site.

I re-downloaded both jessie and jessie lite and i get the same error on both cards.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 3:02 pm

ok I got in a windows machine and used SDformatter to format the sd card with your specifications.

Im gonna use apple pibaker on my mac to burn the image but can you recommend a program for doing it on windows? Just in case the pibaker fails?

Got the same error. Dont know what else to do!

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 3:43 pm

marciokoko wrote:ok I got in a windows machine and used SDformatter to format the sd card with your specifications.

Im gonna use apple pibaker on my mac to burn the image but can you recommend a program for doing it on windows? Just in case the pibaker fails?

Got the same error. Dont know what else to do!
I use Wn32DiskImager to copy the images to the SD card on my Win 7 laptop.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 241
Joined: Sat Aug 27, 2016 4:33 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 4:37 pm

Ok, I used etcher and it gave me a message saying i had a bad archive. So then I realized that my zipped image file was only 178MB. Chrome apparently stops downloading files where it pleases and writes them as done without warning. No wonder I was getting a bad checksum yesterday. I havent checked this sha but the file is the 1.5GB stated by the raspberrypi.org site.

It might be a good idea to tell newbies about this and suggest they use torrents. Image is out of the oven and....YES!

resizing bootfile system...welcome to pixel!

Thanks Engman

MrEngman
Posts: 3699
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu May 25, 2017 4:42 pm

marciokoko wrote:Ok, I used etcher and it gave me a message saying i had a bad archive. So then I realized that my zipped image file was only 178MB. Chrome apparently stops downloading files where it pleases and writes them as done without warning. No wonder I was getting a bad checksum yesterday. I havent checked this sha but the file is the 1.5GB stated by the raspberrypi.org site.

It might be a good idea to tell newbies about this and suggest they use torrents. Image is out of the oven and....YES!

resizing bootfile system...welcome to pixel!

Thanks Engman
Glad you now have your Pi working. What about the wifi?

I, and most other people I'm sure, don't have problems downloading the images directly. I always download new images and I don't ever remember having any problem. I never use Torrent. It is far too slow as well from information I've seen posted by other people.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 78 guests